Add more log to track down the "idle until changed" issue.

Bug 34724174
Test: Tested manually with intentionally adding a bug.

Change-Id: I1789285068203b22ce271180667eb9cb1eb0b182
This commit is contained in:
Makoto Onuki
2017-04-21 12:21:25 -07:00
parent 035aaddbb3
commit 4274a6d9b4

View File

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