commit | b53742607af505c80e1be5506dceebd93b534681 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Thu Aug 30 17:58:41 2018 -0700 |
committer | Tri Vo <trong@google.com> | Sun Sep 09 16:24:59 2018 -0700 |
tree | 9ef211ba2481ffe19d0aa1b9e1ce85f98d1b9287 | |
parent | d502490bace0835a882803a43f9d3d88287a2a64 [diff] |
Add ISystemSuspendCallback. The callback will be used to synchronously report system suspend events. Current usage: BatteryStatsService needs to be notified about each system suspend attempt and whether it was successful. Bug: 78888165 Test: SystemSuspendV1_0UnitTest Change-Id: I234f74f6f3c35e5d6bb33ceda569e11520850ccf