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
Loading
Please register or sign in to comment