diff options
author | 2024-04-17 17:26:13 -0400 | |
---|---|---|
committer | 2024-04-19 10:47:08 -0400 | |
commit | 4ca5dc54a57d61b8bd116a2259f51a7cdc5ea184 (patch) | |
tree | 5c6ca057bb0c64b667aa277ab4487656a5af5ee7 /java/res/values-zh-rHK | |
parent | 56bae808e5af2bde54a69f95aa0c9ba19edc051c (diff) |
Fix "NoAppsAvailableEmptyStateProvider" message for Private
Updates the logic to simplify and correct correct labels
for private profile.
When there is only a single visible profile (personal),
the default empty state is returned, otherwise present
the more informative "No work apps", "No private apps"
or "No personal apps" is shown.
To send an intent to share via Sharesheet which matches no
installed apps:
adb shell am start -a android.intent.action.CHOOSER --eu android.intent.extra.INTENT data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==
Explanation: ChooserActivity accepts EXTRA_INTENT containing either an
Intent or a URI. In this case the data: uri is decoded and results in
a string -as- the intent which doesn't match any apps.
Bug: 334039327
Test: manual, see adb command
Test: With work profile paused, and unpaused
Test: With private profile locked, and unlocked
Change-Id: I1e2565686fb8f7bcf15611541e905cf903e64704
Diffstat (limited to 'java/res/values-zh-rHK')
0 files changed, 0 insertions, 0 deletions