Merge "Add more logging for wakelock stats inquiries" am: e98c214507

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1518102

Change-Id: I02a2586654f3ec241491d5471a2c1f94123e5f36
This commit is contained in:
Treehugger Robot
2020-12-05 00:27:26 +00:00
committed by Automerger Merge Worker

View File

@@ -184,6 +184,7 @@ public class KernelWakelockReader {
try {
wlStats = mSuspendControlService.getWakeLockStats();
Slog.i(TAG, "Number of wakelock obtained from SystemSuspend: " + wlStats.length);
updateWakelockStats(wlStats, staleStats);
} catch (RemoteException e) {
Slog.wtf(TAG, "Failed to obtain wakelock stats from ISuspendControlService", e);