Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1bafed2 authored by Denny cy Lee's avatar Denny cy Lee
Browse files

Suez: Implement display wake reason stats

Bug: 150519505
Bug: 157700750
Test: <screen off>
      adb shell cmd stats print-logs # stats log on
      adb shell input keyevent KEYCODE_POWER;
      adb shell input keyevent KEYCODE_POWER;
      adb shell input keyevent KEYCODE_WAKEUP;
      adb logcat

      logs:
      statsd  : { uid(1000) 1590662902 47548877729 (282)0x10000->1[I]  }
      statsd  : { uid(1000) 1590662905 49953926700 (282)0x10000->6[I]  }

Change-Id: I82191ca3e41df7066bb61adfb25cd9dc194a5433
(cherry picked from commit 0850023c)
parent 448b11bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -616,6 +616,7 @@ public class Notifier {
        } catch (RemoteException ex) {
            // Ignore
        }
        FrameworkStatsLog.write(FrameworkStatsLog.DISPLAY_WAKE_REPORTED, reason);
    }

    /**