diff options
| author | 2024-02-23 12:48:00 +0000 | |
|---|---|---|
| committer | 2024-02-23 15:03:16 +0000 | |
| commit | fa78b8f946dc4213f591ce40a0d63c8667bc8d82 (patch) | |
| tree | 3632dd4decdf98f33a873df96d77d01c1c76e5c7 /libs/androidfw/AttributeResolution.cpp | |
| parent | 9e73f1dba6d234c8e860de9cc681dfec7d964356 (diff) | |
Skip dialog to unlock private space while launching apps
The UnlaunchableAppActivity handles the prompt to show the dialog to
"unapuse work apps" when a work-profile app activity is accessed but the
work-profile is paused. However, the prompt is shown for all
profiles and not just the work-profile. This results in the prompt being
displayed for private profile with the "unpause work apps" message. With
this change, we skip showing the prompt for any non-work-profile apps
since the dialog strings today are work-profile specific.
Bug: 326572042
Test: Tested by flashing changes locally with a private space present on
the device.
Flag: android.os.allow_private_profile
Change-Id: I518123b2ee9039791e4da33ee87ed80fd482d272
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions