commit | dbf4a9c27492d7b3a388fc8cafca13e56072948e | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Tue Jun 27 12:37:23 2017 -0700 |
committer | Christopher Tate <ctate@google.com> | Tue Jun 27 15:27:36 2017 -0700 |
tree | ac3121928f7c9577f804081cb7b9547ba543763e | |
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