Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev

This commit is contained in:
Jeff Brown
2014-11-13 07:04:53 +00:00
committed by Android (Google) Code Review

View File

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