Add implicit constraints to short string.
Make sure implicit constraints are included in the unsatisfied constraints summary so that the short string clearly indicates why the job may not be ready. Bug: 141495777 Test: atest CtsJobSchedulerTestCases:JobSchedulingTest and check logcat Change-Id: Ia73c920f21911329a080619eabd344ed4980ee4c
This commit is contained in:
@@ -2098,7 +2098,7 @@ public final class JobStatus {
|
||||
} else {
|
||||
sb.append(" satisfied:0x").append(Integer.toHexString(satisfiedConstraints));
|
||||
sb.append(" unsatisfied:0x").append(Integer.toHexString(
|
||||
(satisfiedConstraints & mRequiredConstraintsOfInterest)
|
||||
(satisfiedConstraints & (mRequiredConstraintsOfInterest | IMPLICIT_CONSTRAINTS))
|
||||
^ mRequiredConstraintsOfInterest));
|
||||
}
|
||||
sb.append("}");
|
||||
|
||||
Reference in New Issue
Block a user