summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jeremy Sim <jeremysim@google.com> 2023-05-11 15:13:23 -0700
committer Jeremy Sim <jeremysim@google.com> 2023-05-12 11:39:19 -0700
commit00f6fd9fd0bd59eb55573978c0271c1e44baddba (patch)
treebc481d74f19fbaabd08b94cd04d654d6eaffb04f /libs/androidfw/AssetsProvider.cpp
parentb529df739fa50aac4e0f171e47d99eed99f0298b (diff)
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions