summaryrefslogtreecommitdiff
path: root/libs/hwui/ResourceCache.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2010-12-13 18:27:26 -0800
committer Christopher Tate <ctate@google.com> 2010-12-13 19:09:47 -0800
commit73a3cb3848292c51d779cbb945088e8725404017 (patch)
tree9fc29e750e21d9b91c9205f00d822628655640dd /libs/hwui/ResourceCache.cpp
parent29f94b781e1834d8280aba741b6e86b164d1223c (diff)
Time out orphaned / unresponsive restore sessions
An app that fires up a restore session but then crashes or drops its session reference will currently render restore functions totally unavailable until the device is rebooted. This CL introduces an inactivity timeout [currently 60 seconds] on restore sessions, after which the session is shut down and becomes unavailable to the app who nominally still held it. Synchronization between the timeout and the normal asynchronous use of the session by the application is managed by running both the timeout action and the normal teardown process on the backup manager service's handler thread. Bug 3276362 Change-Id: I1f63b83e96e66b0e7eb15a1e20e375049babf06e
Diffstat (limited to 'libs/hwui/ResourceCache.cpp')
0 files changed, 0 insertions, 0 deletions