Merge "Add more log to track down the "idle until changed" issue." into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-21 21:20:24 +00:00
committed by Android (Google) Code Review

View File

@@ -1239,6 +1239,11 @@ class AlarmManagerService extends SystemService {
mAllowWhileIdleDispatches.add(ent); mAllowWhileIdleDispatches.add(ent);
} }
} }
if ((mPendingIdleUntil != a) && (mPendingIdleUntil != null)) {
Slog.wtfStack(TAG, "setImplLocked: idle until changed from " + mPendingIdleUntil
+ " to " + a);
}
mPendingIdleUntil = a; mPendingIdleUntil = a;
mConstants.updateAllowWhileIdleMinTimeLocked(); mConstants.updateAllowWhileIdleMinTimeLocked();
needRebatch = true; needRebatch = true;