John Spurlock 006f567c21 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
2012-12-04 15:10:04 -05:00
..
2012-11-30 17:49:39 -08:00
2012-11-28 18:09:01 -08:00
2012-11-28 18:09:01 -08:00
2012-11-28 18:09:01 -08:00
2012-11-27 19:12:23 -08:00
2012-11-27 19:12:23 -08:00