summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2019-10-09 20:50:44 +0800
committerWei Sheng Shih <wilsonshih@google.com>2019-10-31 12:47:38 +0000
commit36c328b56505cd6cdd7d9e5e6187cf166c312cc9 (patch)
treef21b4c3ba1c49b4e683335572234eab64aee4e96 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parentfc07949b31fcb17bb3e23511a1e7d7f0f7ae7ae6 (diff)
Try to rebind disconnected wallpaper service for 10 seconds.
When we received the wallpaper service disconnected, we could not immediately know the reason for the disconnection, so if the service was disconnected because the package was updating, and we received the update broadcast after 1 second, in original design we will only revert to the built-in wallpaper. However, it will be too late to bind the original service after we receiving the package update broadcast. In this CL, if currently wallpaper service is accidentally disconnected, we will try to re-bind it for 10 seconds. Fix: 138973259 Test: Manual install wallpaper service and delay the package update broadcast on purpose, verify the service can be bind back. Test: atest WallpaperManagerTest Change-Id: I11891098164372002b36c558f670621d8c852af8 (cherry picked from commit b87530296b3b42638138d90effdc8dcb067206f1)
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions