commit | 695cf72f26638f051d356abcb4acdc0c1fe3918d | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Dec 21 18:32:47 2017 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Jan 03 09:16:56 2018 +0000 |
tree | 4b57747815c52657b99532f2efe9dd3000da916d | |
parent | 37d870bc09bc5a5ad2244838ddeaa1f2426da58d [diff] |
Support chained attribution for alarm related WorkSources. .. those passed down via the AlarmManager.set() variant that takes a WorkSource. This required a minor re-arrangement of code in the ActivityManager. We now treat WorkSources as opaque in the AlarmManager and simply push them down to the AM (and eventually to BatteryStats) where they are picked apart. Test: BatteryStatsNoteTest, AlarmManagerTest Bug: 62390666 Change-Id: I118f1a1d16aafa41b4f401f1a6a3ba4d2d5eca8f