Track activity launch failure.
If activity launch is failed twice, we give up and finish the activity but currently we are not tracking the failures. This change fixes that. Bug: 37172206 Test: manual Change-Id: Idc67a5e44cbef97985494f42211d24a3697f607b
This commit is contained in:
@@ -1491,6 +1491,7 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
|
||||
|
||||
// This is the first time we failed -- restart process and
|
||||
// retry.
|
||||
r.launchFailed = true;
|
||||
app.activities.remove(r);
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user