Allows splitscreen with work & personal version of the same app

This patch makes changes in various splitscreen controllers to pass userId to the new shell API, to allow same-app splitting with different users.

Fixes: 274973415
Test: Manual
Change-Id: I810b5353aad738c7c275856586b9c521f1554022
This commit is contained in:
Jeremy Sim
2023-05-11 22:10:51 -07:00
parent 52d4764576
commit 92e1eeb5f0
5 changed files with 57 additions and 43 deletions

View File

@@ -111,7 +111,8 @@ public class TaskbarShortcutMenuAccessibilityDelegate
item.getIntent().getComponent(),
/* startActivityOptions= */null,
item.user),
new Intent(), side, null, instanceIds.first);
item.user.getIdentifier(), new Intent(), side, null,
instanceIds.first);
}
return true;
} else if (action == DEEP_SHORTCUTS || action == SHORTCUTS_AND_NOTIFICATIONS) {