Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a941dbb authored by Chris Li's avatar Chris Li
Browse files

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
parent d804bbc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment