diff options
author | Jeff Brown <jeffbrown@google.com> | 2014-05-01 15:18:00 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2014-05-01 15:22:27 -0700 |
commit | 140ffc783c50bbe3b62e817c117a31b93e7f627e (patch) | |
tree | a785a3713fcd85f151c037c05bfbe84edc7bbdc0 /services/core/java/com/android/server/power | |
parent | d5e92318b69d8af6d91dc3b51738913595e0f536 (diff) | |
download | frameworks_base-140ffc783c50bbe3b62e817c117a31b93e7f627e.zip frameworks_base-140ffc783c50bbe3b62e817c117a31b93e7f627e.tar.gz frameworks_base-140ffc783c50bbe3b62e817c117a31b93e7f627e.tar.bz2 |
Clean up some terminology related to interactive state.
Change-Id: Ife4445685a5314dea64332a3490fa8dd3ffd89a2
Diffstat (limited to 'services/core/java/com/android/server/power')
-rw-r--r-- | services/core/java/com/android/server/power/Notifier.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/power/Notifier.java b/services/core/java/com/android/server/power/Notifier.java index 6224ed3..d9c1aa8 100644 --- a/services/core/java/com/android/server/power/Notifier.java +++ b/services/core/java/com/android/server/power/Notifier.java @@ -371,7 +371,7 @@ final class Notifier { EventLog.writeEvent(EventLogTags.POWER_SCREEN_STATE, 1, 0, 0, 0); - mPolicy.screenTurningOn(mScreenOnListener); + mPolicy.wakingUp(mScreenOnListener); mActivityManagerInternal.wakingUp(); if (ActivityManagerNative.isSystemReady()) { @@ -422,7 +422,7 @@ final class Notifier { EventLog.writeEvent(EventLogTags.POWER_SCREEN_STATE, 0, why, 0, 0); - mPolicy.screenTurnedOff(why); + mPolicy.goingToSleep(why); mActivityManagerInternal.goingToSleep(); if (ActivityManagerNative.isSystemReady()) { |