Merge "Require a more specific intent" into rvc-dev

This commit is contained in:
Lucas Dupin
2020-03-25 20:15:56 +00:00
committed by Android (Google) Code Review

View File

@@ -305,7 +305,8 @@ public class KeyguardSliceProvider extends SliceProvider implements
oldInstance.onDestroy();
}
mDatePattern = getContext().getString(R.string.system_ui_aod_date_pattern);
mPendingIntent = PendingIntent.getActivity(getContext(), 0, new Intent(), 0);
mPendingIntent = PendingIntent.getActivity(getContext(), 0,
new Intent(getContext(), KeyguardSliceProvider.class), 0);
mMediaManager.addCallback(this);
mStatusBarStateController.addCallback(this);
mNextAlarmController.addCallback(this);