Ensure the Bubble settings intent is started as the correct user
Bug: 128891021 Test: app w/bubble notification in work profile only, click settings Change-Id: If3421542d9487011f7c1f581758c1ffd8e2dedb9
This commit is contained in:
@@ -407,7 +407,7 @@ public class BubbleExpandedView extends LinearLayout implements View.OnClickList
|
||||
Intent intent = getSettingsIntent(mEntry.notification.getPackageName(),
|
||||
mEntry.notification.getUid());
|
||||
mStackView.collapseStack(() -> {
|
||||
mContext.startActivity(intent);
|
||||
mContext.startActivityAsUser(intent, mEntry.notification.getUser());
|
||||
logBubbleClickEvent(mEntry,
|
||||
StatsLog.BUBBLE_UICHANGED__ACTION__HEADER_GO_TO_SETTINGS);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user