+11
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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