Loading
Fix AE launch of the same SingleTask Activity twice
1. When the first launch succeeded while the second launch failed, it would accidentally remove the pending appeared intent because they are the same. Change to only cleanup if the intent is used to create a new TaskFragment. 2. When can reuse an expanded secondary TaskFragment, it used to create a new one because the info is not yet received. Change to reuse if that TaskFragment is already expanded even if the info is not recevied yet. Bug: 440507153 Test: atest WMJetpackUnitTests:SplitControllerTest Test: atest WMJetpackUnitTests:SplitPresenterTest Flag: EXEMPT small bug fix Change-Id: Ib48c3c48b7f448053a121ff59af50d60e0dcc027