diff options
author | John Spurlock <jspurlock@google.com> | 2012-12-03 08:42:25 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2012-12-04 15:10:04 -0500 |
commit | 006f567c214d67752cc7c2b6446c328744f40af7 (patch) | |
tree | 5c7c54631c1591361882a3bd698c42198c61a3b6 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9f2532bf1215dffb4058d1b01834b3a0a7272fdc (diff) |
Kill dreams that do not create a timely service connection.
Implement a timeout between when the dream binds and
when the dream creates the service connection. If
the connection is not created within a certain amount of
time, stop the dream.
This fixes the current bug where a dream that crashes in
onCreate (or the ctor) can put the dream controller in a
bad state until the screen is turned off.
The timeout is equal to the service restart delay in
activity manager (ActiveServices) to avoid restarting
(and recrashing).
Bug:7596707
Change-Id: I3e11efc6af0b79ec4cb0fbc94e4e109c7602ddac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions