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

Commit 2b9db7e8 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Check for sub count > 1 to check for multiple active subs (not > 0).

Test: manual
Bug: 138730178

Merged-in: I064c8b4b45d22016ab8e5f7c4564fa49470d2892
Change-Id: I064c8b4b45d22016ab8e5f7c4564fa49470d2892
(cherry picked from commit 86ffe438)
parent 40d7f161
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -400,7 +400,7 @@ public class SmsController extends ISmsImplBase {
            }

            // If reached here and multiple SIMs and subs present, sms sim pick activity is needed
            if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) {
            if (subInfoLength > 1 && telephonyManager.getSimCount() > 1) {
                return true;
            }
        }