Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 016593fe authored by Jim Miller's avatar Jim Miller
Browse files

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
parent 6f8d49db
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -347,7 +347,7 @@ public class LockSettingsService extends ILockSettings.Stub {
        CharSequence detail = r.getText(
        CharSequence detail = r.getText(
                com.android.internal.R.string.user_encrypted_detail);
                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);
                PendingIntent.FLAG_UPDATE_CURRENT);


        showEncryptionNotification(user, title, message, detail, intent);
        showEncryptionNotification(user, title, message, detail, intent);