commit | dff8cdffadee07f7b646e9faf67abbdb2d045e2d | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Tue Jan 09 13:01:01 2018 -0800 |
committer | Lucas Dupin <dupin@google.com> | Tue Jan 09 13:01:01 2018 -0800 |
tree | ff842c49e0f118a160040556ab96a58aca84e51a | |
parent | 6198ec6303494026bb1b5b0a6af422defc25e50d [diff] |
Avoid binder call on getAlwaysOn() This method might be called on the UI thread, we should cache the value and only read it back when it changes. Change-Id: Iee34e7cd6da133c603700d1834097d72de1dfb10 Fixes: 70857288 Test: enable/disable AoD from settings Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testLaunchSettings