diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-05-01 23:25:11 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-01 23:25:11 +0000 |
commit | 7f6ab17d414726868563105cd995b37dd519320b (patch) | |
tree | 10020e900cad94531685f09c9c5e6ffc8ac6ea73 /policy | |
parent | 5c10c3cfa65ff2ad9e92ec42f3f3384fc730d253 (diff) | |
parent | 140ffc783c50bbe3b62e817c117a31b93e7f627e (diff) | |
download | frameworks_base-7f6ab17d414726868563105cd995b37dd519320b.zip frameworks_base-7f6ab17d414726868563105cd995b37dd519320b.tar.gz frameworks_base-7f6ab17d414726868563105cd995b37dd519320b.tar.bz2 |
Merge "Clean up some terminology related to interactive state." into klp-modular-dev
Diffstat (limited to 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/PhoneWindowManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java index fce5392..2b7bbd0 100644 --- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java @@ -986,9 +986,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { // Match current screen state. if (mPowerManager.isScreenOn()) { - screenTurningOn(null); + wakingUp(null); } else { - screenTurnedOff(WindowManagerPolicy.OFF_BECAUSE_OF_USER); + goingToSleep(WindowManagerPolicy.OFF_BECAUSE_OF_USER); } } @@ -4275,7 +4275,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { } @Override - public void screenTurnedOff(int why) { + public void goingToSleep(int why) { EventLog.writeEvent(70000, 0); synchronized (mLock) { mScreenOnEarly = false; @@ -4291,7 +4291,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { } @Override - public void screenTurningOn(final ScreenOnListener screenOnListener) { + public void wakingUp(final ScreenOnListener screenOnListener) { EventLog.writeEvent(70000, 1); if (false) { RuntimeException here = new RuntimeException("here"); |