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

Skip to content
Commit 9a0b544d authored by Jeff Chang's avatar Jeff Chang
Browse files

Removes the redundant instance for singleInstance

The activity with launchMode "singleInstance" was able to be created
in multiple instances. It contradicts with developers' documentation.
The conditions for searching the reusable tasks always ignore the
start-for-result results in singleInstance instances being created.

The CL finishes existing instance when a new instance of
singleInstance activity launches, in order to keep only one instance
in the system. Some compatibility issues might be introduced if app
incorrectly depend on singleInstance activities to be multiple
instances.

Bug: 122967919
Test: atest IntentTests
Change-Id: I6345985a0ee5bd47d100d529bc3b50e8ae4d2bab
parent a8ecc8e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment