summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2017-06-27 12:37:23 -0700
committerChristopher Tate <ctate@google.com>2017-06-27 15:27:36 -0700
commitdbf4a9c27492d7b3a388fc8cafca13e56072948e (patch)
treeac3121928f7c9577f804081cb7b9547ba543763e /rs/java/android/renderscript/ProgramStore.java
parentce2ebd1285ab65f42c63e78dffc5bb065a31fef2 (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 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions