commit | fc6d69316044da5609caf4701f1f3e06f85da720 | [log] [tgz] |
---|---|---|
author | Chandru <chandruis@google.com> | Thu Aug 11 14:00:40 2022 +0000 |
committer | Chandru <chandruis@google.com> | Thu Sep 01 11:04:10 2022 +0000 |
tree | a6250973acf412ee8d52fcb7df37a05e035ed35a | |
parent | 939a2a954d611d741963794a22e1f99f099c2ca1 [diff] |
Plumb through the reason for wakeup from Doze. @DozeLog.Reason is included along with the powerManager.wakeUp. This would describe why the device was woken up from doze: "intent", "notification", "sigmotion", "pickup", "docking", etc. [1] This also includes the Keyguard session ID along with the UI events logged in DozeTrigger [1]: http://cs/android-internal/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java;l=435;rcl=6fd5473508c5d4cb15513053ec8a50dcd1d44e74 Bug: 238809124 Test: atest DozeMachineTest Test: atest DozeTriggersTest Test: atest DozeScreenStatePreventingAdapterTest Change-Id: I6f8799112eccf129fa846ff8eb8f549566dfa01d