Remove an unnecessary condition from previous change.

Change-Id: Ib966fbb373294ad60caf7f1d9cbb7fafd05ded6b
This commit is contained in:
Jeff Brown
2014-11-12 23:01:12 -08:00
parent 7b5be5e2a7
commit a191aa99ab

View File

@@ -1466,8 +1466,7 @@ public final class PowerManagerService extends SystemService
private void updateUserActivitySummaryLocked(long now, int dirty) {
// Update the status of the user activity timeout timer.
if ((dirty & (DIRTY_WAKE_LOCKS | DIRTY_USER_ACTIVITY
| DIRTY_WAKEFULNESS | DIRTY_SETTINGS
| DIRTY_SCREEN_BRIGHTNESS_BOOST)) != 0) {
| DIRTY_WAKEFULNESS | DIRTY_SETTINGS)) != 0) {
mHandler.removeMessages(MSG_USER_ACTIVITY_TIMEOUT);
long nextTimeout = 0;