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

Commit bbb2b509 authored by Amit Mahajan's avatar Amit Mahajan Committed by android-build-merger
Browse files

Merge "Correct the logic for when to open SMS app."

am: 001b588b

Change-Id: Ie432b3852c009e74b4c4a52bd222f8eb917c66c6
parents b0693204 001b588b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1716,7 +1716,7 @@ public abstract class InboundSmsHandler extends StateMachine {
                // do nothing if the user had not unlocked the device yet
                UserManager userManager =
                        (UserManager) context.getSystemService(Context.USER_SERVICE);
                if (!userManager.isUserUnlocked()) {
                if (userManager.isUserUnlocked()) {
                    context.startActivity(context.getPackageManager().getLaunchIntentForPackage(
                            Telephony.Sms.getDefaultSmsPackage(context)));
                }