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

Skip to content
Commit 00f6fd9f authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Allows splitscreen with work & personal version of the same app

This patch makes it so that the user can use splitscreen with work & personal profile versions of the same app, even if the app does not support multi-instance.

Previously, we checked package name to prevent the user from opening 2 versions of the same app if the app did not allow multi-instance. But multi-instance with different user profiles should actually be allowed, since they are essentially 2 independent apps in the system.

Fixed by changing SplitScreenUtils#samePackage() to take in and check userIds as well.

Fixes: 274973415
Test: Manual
Change-Id: I13d80ddda10f08b87971f45a03d3ba2910befb8a
parent b529df73
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