summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-03-05 22:17:26 +0100
committerSelim Cinek <cinek@google.com>2014-03-06 14:10:04 +0100
commitebebadb56d6b3eab6e11dae9d48d639f0af4946d (patch)
treea09a0aae16b23ca78abaf75da304c1dc92acb3eb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente0ebe276e58cf50719d625631a569bda2f52ff5f (diff)
Fixed a bug where the current wallpaper could be reset on an update
There is a race condition which caused the wallpaper to be reset on an app update since the broadcast notifying the service is async. This CL corrects this behaviour by enforcing that we only reset the wallpaper if its service was shut down twice in a certain timeframe. Before, the condition falsely was checking whether the service was started in the last couple of millis instead of killed. Bug: 11901821 Change-Id: Icfbc7a5df63215079a83805c5187a3182b192757
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions