[Safer intents] Notifications
To avoid implicit intents, make intents launch explicitly. Test: build Bug: 323061508 Change-Id: I68624ca7c913c473490f371409ae35acbb4f6fb2
This commit is contained in:
@@ -77,6 +77,7 @@ public class BubbleSummaryPreferenceController extends NotificationPreferenceCon
|
||||
|
||||
if (mAppRow != null) {
|
||||
final Intent intent = new Intent(Settings.ACTION_APP_NOTIFICATION_BUBBLE_SETTINGS);
|
||||
intent.setPackage(mContext.getPackageName());
|
||||
intent.putExtra(Settings.EXTRA_APP_PACKAGE, mAppRow.pkg);
|
||||
intent.putExtra(Settings.EXTRA_APP_UID, mAppRow.uid);
|
||||
preference.setIntent(intent);
|
||||
|
||||
Reference in New Issue
Block a user