Require a more specific intent
Fixes: 147606347 Test: run poc, device didn't reboot Change-Id: I8f721ca659d58271880a7adbf386b270b331e55b
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user