summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2012-12-03 08:42:25 -0500
committerJohn Spurlock <jspurlock@google.com>2012-12-04 15:10:04 -0500
commit006f567c214d67752cc7c2b6446c328744f40af7 (patch)
tree5c7c54631c1591361882a3bd698c42198c61a3b6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9f2532bf1215dffb4058d1b01834b3a0a7272fdc (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