Workaround task-resolution bug in AM
- Keep launching notification settings in the Settings task. This is not the expected behavior, but only a workaround until b/72420153 is fixed. Bug: 72420153 Test: Enter PIP, go to app > notifications > additional settings, ensure that it doesn't start in the PIP task Change-Id: I73e704a283285462d4884db21923818cfb6deead
This commit is contained in:
@@ -232,10 +232,10 @@ abstract public class NotificationSettingsBase extends DashboardFragment {
|
||||
}
|
||||
continue;
|
||||
}
|
||||
// TODO(78660939): This should actually start a new task
|
||||
mAppRow.settingsIntent = intent
|
||||
.setPackage(null)
|
||||
.setClassName(activityInfo.packageName, activityInfo.name)
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
.setClassName(activityInfo.packageName, activityInfo.name);
|
||||
if (mChannel != null) {
|
||||
mAppRow.settingsIntent.putExtra(Notification.EXTRA_CHANNEL_ID, mChannel.getId());
|
||||
}
|
||||
|
Reference in New Issue
Block a user