diff options
| author | 2020-04-23 19:04:22 -0700 | |
|---|---|---|
| committer | 2020-04-27 17:41:27 -0700 | |
| commit | 5690bde1e9192bc161ff6ae9fc80d8c4eaef6fd9 (patch) | |
| tree | 840c4ce1c5d00b75aa9a8a478ba580a7740f193b /opengl/libagl/TextureObjectManager.cpp | |
| parent | 8e89c2ad0f2981f196307285d7d45b42c17356e4 (diff) | |
SF: Defer setDisplayBrightness to Binder thread
setDisplayBrightness blocks for a long time so cannot run on the main
thread. Keep display lookup on the main thread, but return a deferred
future to the Binder thread and run it there.
Bug: 154202427
Bug: 123715322
Test: systrace with backdoor to set brightness
Change-Id: I88e60c95db5fdcaa1bf5ebb9711e3bf5ab6539a1
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions