Commits

Andrii Kulian authored fa3991aae02
Fix crash loop when activity controller was set If activity controller was set and application crashed - process was killed, but records in task history were not erased and AM restarted crashed activity. This caused crash loop if activity was crashing on every launch. This CL handles app crash correctly in this case + lets AM handle instrumentation test crash in ActivityManagerService#handleAppDiedLocked to remove code duplication. Bug: 28374171 Change-Id: Idf50d1e2cc784c0ae970aa290b82fe1eedd6d1fd