diff options
author | Christopher Tate <ctate@google.com> | 2017-06-27 12:37:23 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2017-06-27 15:27:36 -0700 |
commit | dbf4a9c27492d7b3a388fc8cafca13e56072948e (patch) | |
tree | ac3121928f7c9577f804081cb7b9547ba543763e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ce2ebd1285ab65f42c63e78dffc5bb065a31fef2 (diff) |
Don't synchronize inside getWallpaperColors()
Reading the current wallpaper's palette doesn't involve any state
inside the WallpaperManager instance, so there's no reason to
apply synchronization in the first place. By doing so we were
inducing a great deal of lock contention, since the system side
of the operation can sometimes take a long time to execute.
Bug 63065764
Test: manual
Change-Id: I6f5f67a0819da23245a4ad5334f0942011467f7c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions