Skip to content

Commit c9aa32e

Browse files
Dianne Hackbornandroid code review
authored andcommitted
Merge "Fix dumpPowerState method"
2 parents 2a393a9 + 15415f5 commit c9aa32e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/java/com/android/server/PowerManagerService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,8 @@ private static String dumpPowerState(int state) {
11031103
? "SCREEN_BRIGHT_BIT " : "")
11041104
+ (((state & SCREEN_ON_BIT) != 0)
11051105
? "SCREEN_ON_BIT " : "")
1106+
+ (((state & BUTTON_BRIGHT_BIT) != 0)
1107+
? "BUTTON_BRIGHT_BIT " : "")
11061108
+ (((state & BATTERY_LOW_BIT) != 0)
11071109
? "BATTERY_LOW_BIT " : "");
11081110
}

0 commit comments

Comments
 (0)