Merge "Update language to comply with Android's inclusive language guidance" am: 0521eb758a am: 8d384c548c am: 12b1eaba8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1384138 Change-Id: Ia983b250273e8f16cb1f3e76b00563633c32e95d
This commit is contained in:
@@ -307,7 +307,7 @@ public class AppTimeLimitController {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (mActives > mObserved.length) {
|
if (mActives > mObserved.length) {
|
||||||
// Try to get to a sane state and log the issue
|
// Try to get to a valid state and log the issue
|
||||||
mActives = mObserved.length;
|
mActives = mObserved.length;
|
||||||
final UserData user = mUserRef.get();
|
final UserData user = mUserRef.get();
|
||||||
if (user == null) return;
|
if (user == null) return;
|
||||||
@@ -334,7 +334,7 @@ public class AppTimeLimitController {
|
|||||||
cancelCheckTimeoutLocked(this);
|
cancelCheckTimeoutLocked(this);
|
||||||
} else {
|
} else {
|
||||||
if (mActives < 0) {
|
if (mActives < 0) {
|
||||||
// Try to get to a sane state and log the issue
|
// Try to get to a valid state and log the issue
|
||||||
mActives = 0;
|
mActives = 0;
|
||||||
final UserData user = mUserRef.get();
|
final UserData user = mUserRef.get();
|
||||||
if (user == null) return;
|
if (user == null) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user