Fix bug with launching home activity from LockSettingsService
This fixes a bug where LockSettingsService was sending a broadcast instead of launching the home activity. Fixes bug 29988032 Change-Id: Ibdbb15928fee575375576a31181d91323073a9fb
This commit is contained in:
@@ -347,7 +347,7 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
CharSequence detail = r.getText(
|
||||
com.android.internal.R.string.user_encrypted_detail);
|
||||
|
||||
PendingIntent intent = PendingIntent.getBroadcast(mContext, 0, ACTION_NULL,
|
||||
PendingIntent intent = PendingIntent.getActivity(mContext, 0, ACTION_NULL,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
showEncryptionNotification(user, title, message, detail, intent);
|
||||
|
||||
Reference in New Issue
Block a user