diff options
author | Lucas Dupin <dupin@google.com> | 2018-01-09 13:01:01 -0800 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2018-01-09 13:01:01 -0800 |
commit | dff8cdffadee07f7b646e9faf67abbdb2d045e2d (patch) | |
tree | ff842c49e0f118a160040556ab96a58aca84e51a /tools/aapt2/ResourceUtils_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/ResourceUtils_test.cpp')
0 files changed, 0 insertions, 0 deletions