summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-05-01 23:25:11 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-01 23:25:11 +0000
commit7f6ab17d414726868563105cd995b37dd519320b (patch)
tree10020e900cad94531685f09c9c5e6ffc8ac6ea73 /policy
parent5c10c3cfa65ff2ad9e92ec42f3f3384fc730d253 (diff)
parent140ffc783c50bbe3b62e817c117a31b93e7f627e (diff)
downloadframeworks_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.java8
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");