Merge "Workaround task-resolution bug in AM" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bb5a46fabd
@@ -232,10 +232,10 @@ abstract public class NotificationSettingsBase extends DashboardFragment {
|
|||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// TODO(78660939): This should actually start a new task
|
||||||
mAppRow.settingsIntent = intent
|
mAppRow.settingsIntent = intent
|
||||||
.setPackage(null)
|
.setPackage(null)
|
||||||
.setClassName(activityInfo.packageName, activityInfo.name)
|
.setClassName(activityInfo.packageName, activityInfo.name);
|
||||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
||||||
if (mChannel != null) {
|
if (mChannel != null) {
|
||||||
mAppRow.settingsIntent.putExtra(Notification.EXTRA_CHANNEL_ID, mChannel.getId());
|
mAppRow.settingsIntent.putExtra(Notification.EXTRA_CHANNEL_ID, mChannel.getId());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user