Crash during Task switch
Problem: {
1.Open realmelink app->pair a device
2.add this app to google device controls
3.Click on the paired device multiple times and observe crash
}
Solution: {
1. Timing of methods in removeTask->resetTaskInfo->shellExecutor order is causing the crash
2. Cache the taskToken and use it in lamda to fix NPE and make sure task is removed from recents history
}
Bug: 388747629
https: //partnerissuetracker.corp.google.com/u/1/issues/388747629
Change-Id: I47a38a6a41ba4095c8d3bacf242e91230381454b
1 file changed