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

Skip to content
Snippets Groups Projects
Commit 8df668bc authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Take into account dummy sub ids in ImsManager verification

am: 08059425

Change-Id: I1508e3f7a6ff392d42045b5786c254e56783439a
parents fd47d2ec 08059425
Branches
No related tags found
No related merge requests found
...@@ -2443,7 +2443,7 @@ public class ImsManager { ...@@ -2443,7 +2443,7 @@ public class ImsManager {
* @return {@code true} if valid, {@code false} otherwise. * @return {@code true} if valid, {@code false} otherwise.
*/ */
private boolean isSubIdValid(int subId) { private boolean isSubIdValid(int subId) {
return subId != SubscriptionManager.INVALID_SUBSCRIPTION_ID && return SubscriptionManager.isValidSubscriptionId(subId) &&
subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; subId != SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment