diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-10 04:34:48 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-10 04:34:48 -0800 |
commit | de342a01a0272540c8468fcfcf0f0067c0d743e0 (patch) | |
tree | d7dd81190b7c2fe3cf4f1f9a9efd004acdd3ed7d /services | |
parent | c421fc2ada7c1bff104733b840bd640151bebbbb (diff) | |
parent | 24ace3395b532e3cbb63d2a6197a91dd9242bb36 (diff) | |
download | frameworks_base-de342a01a0272540c8468fcfcf0f0067c0d743e0.zip frameworks_base-de342a01a0272540c8468fcfcf0f0067c0d743e0.tar.gz frameworks_base-de342a01a0272540c8468fcfcf0f0067c0d743e0.tar.bz2 |
Merge change Idcd98310 into eclair
* changes:
PowerManagerService: enable logging for when mPowerState changes.
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/PowerManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/PowerManagerService.java b/services/java/com/android/server/PowerManagerService.java index fd518c3..3a7a9d2 100644 --- a/services/java/com/android/server/PowerManagerService.java +++ b/services/java/com/android/server/PowerManagerService.java @@ -1364,7 +1364,7 @@ class PowerManagerService extends IPowerManager.Stub boolean oldScreenOn = (mPowerState & SCREEN_ON_BIT) != 0; boolean newScreenOn = (newState & SCREEN_ON_BIT) != 0; - if (mSpew) { + if (mPowerState != newState) { Log.d(TAG, "setPowerState: mPowerState=" + mPowerState + " newState=" + newState + " noChangeLights=" + noChangeLights); Log.d(TAG, " oldKeyboardBright=" + ((mPowerState & KEYBOARD_BRIGHT_BIT) != 0) |