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

Commit 001b588b authored by Amit Mahajan's avatar Amit Mahajan Committed by Gerrit Code Review
Browse files

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

parents 495f4967 1ca4b54d
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)));
                }