diff options
author | Tetsutoki Shiozawa <tetsutoki.shiozawa@sony.com> | 2018-02-02 14:18:43 +0900 |
---|---|---|
committer | akihiro miura <akihiro.miura@sony.com> | 2018-02-19 16:35:08 +0900 |
commit | 06919216e48d3e8521c50bd9a6e2c7e363e70495 (patch) | |
tree | d8ba886994e4b54a5492599d2579fb64ee52dae4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c86b195cd5bdec16ad51aa7f1adc56c1ec4bf564 (diff) |
Explicitly restart the killed wallpaper service
Symptom:
Live wallpaper setting was reset when a wallpaper service was killed
by Lmk. The wallpaper fell back to the default image wallpaper. It's
a black bitmap.
Root cause:
When restarting wallpaper service takes more than 10 seconds, it's
treated as a bad wallpaper. The wallpaper setting is reset to remove
the bad wallpaper.
This is not a suitable solution under the low memory situation.
Multiple processes are killed by Lmk at one time. Killed services are
automatically restarted by AMS with a few seconds interval.
The restart interval is increased by a factor of the number of killed
services. Sometimes, it takes more than 1 minute.
Solution:
When a wallpaper service is killed, WallpaperManagerService requests
restarting the service immediately. It can ignore the restart interval.
Bug: 73071020
Change-Id: Id5bb1cf121029a513f8773597f296b47667d1e21
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions