diff options
| author | 2020-08-07 02:54:33 +0000 | |
|---|---|---|
| committer | 2020-08-07 02:54:33 +0000 | |
| commit | cbc7b156b235731b131591e8bcc56203185eecec (patch) | |
| tree | e5f64242db63558c79978d5452f0f09f0d221230 | |
| parent | fc546021bbc214f0d7ffb150708bb0822e266764 (diff) | |
| parent | b8017c9d03cbfe83cb489d50ff141f6d13ea97b6 (diff) | |
Merge "Update language to comply with Android's inclusive language guidance" am: b8017c9d03
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1382480
Change-Id: Ia0c937717d130ea844bab629c744e32201991610
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/power/PowerUITest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/power/PowerUITest.java b/packages/SystemUI/tests/src/com/android/systemui/power/PowerUITest.java index 4d95f3f474b5..2adfce2c42ae 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/power/PowerUITest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/power/PowerUITest.java @@ -363,7 +363,7 @@ public class PowerUITest extends SysuiTestCase { mPowerUI.mSevereWarningShownThisChargeCycle = false; BatteryStateSnapshotWrapper state = new BatteryStateSnapshotWrapper(); - // sanity check to make sure we can show for a valid config + // readiness check to make sure we can show for a valid config state.mBatteryLevel = 10; state.mTimeRemainingMillis = Duration.ofHours(2).toMillis(); boolean shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); @@ -428,7 +428,7 @@ public class PowerUITest extends SysuiTestCase { mPowerUI.mSevereWarningShownThisChargeCycle = false; BatteryStateSnapshotWrapper state = new BatteryStateSnapshotWrapper(); - // sanity check to make sure we can show for a valid config + // readiness check to make sure we can show for a valid config state.mBatteryLevel = 1; state.mTimeRemainingMillis = Duration.ofMinutes(1).toMillis(); boolean shouldShow = mPowerUI.shouldShowHybridWarning(state.get()); @@ -551,7 +551,7 @@ public class PowerUITest extends SysuiTestCase { state.mIsHybrid = false; BatteryStateSnapshot lastState = state.get(); - // sanity check to make sure we can show for a valid config + // readiness check to make sure we can show for a valid config state.mBatteryLevel = 10; state.mBucket = -1; boolean shouldShow = mPowerUI.shouldShowLowBatteryWarning(state.get(), lastState); |