diff options
| author | 2025-02-07 12:23:23 +0000 | |
|---|---|---|
| committer | 2025-02-07 16:26:37 +0000 | |
| commit | 0f770e6d5ed710c21946e2918ab21da23aceabd1 (patch) | |
| tree | f368386beda7a913fa328ea40152bdfd66737906 /ravenwood/scripts/extract-last-soong-commands.py | |
| parent | af9d3ada1b43416f4596aa7b3a5981525e3ca845 (diff) | |
Use the userId to create context.
When a profile app is dragged to desktop and we try to launch the home
using the id of the profile, pm resolves this intent as using a work
profile app outside of work profile thus launches as a secondary
activtiy during drag to desktop which crashes the system.
Instead of using the profileId of the task, we can get the user that
profile belongs to and use the userId of that user instead to launch the
home task.
Bug: 394020242
Test: Use drag to desktop on work profile app in non-HSUM and verify no
crashes
Test: Use drag to desktop on any app in HSUM and verify no crashes
Flag: EXEMPT Bugfix
Change-Id: I7638c16ab848310e9c18d43c809f286b45ad6c19
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions