commit | 24d1336f1731dd76843e549136df34ebabe08817 | [log] [tgz] |
---|---|---|
author | Collin Fijalkovich <cfijalkovich@google.com> | Wed Nov 13 18:47:27 2019 +0000 |
committer | Collin Fijalkovich <cfijalkovich@google.com> | Fri Feb 14 10:03:44 2020 -0800 |
tree | fe5c22e4ef0c0820b5b2b6112ae8b6c25cc722b1 | |
parent | e9a33feb4e33cede20906c8ffd3cf53730f8b930 [diff] |
Cache PowerManager binder calls Use PropertyInvalidatedCache to save on redundant binder calls for isPowerSaveMode and isInteractive. Bug: 140788621 Test: atest BatterySaverTest Test: atest PowerManagerTest Change-Id: I849a48eb7c901d3178097d33dce01630dbb78267