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

Commit 003c8e5c authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Change expected default value of setPreferredData

Change expected value from INVALID to DEFAULT_SUSCRIPTION_ID
when caller wants to change back to user setting.
Correct spelling.

Bug: 118491136
Test: unittest
Change-Id: I0c953ba654d5465f973db6e9c7f7bacd5db23831
Merged-In: I0c953ba654d5465f973db6e9c7f7bacd5db23831
parent 4d73d87d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2285,7 +2285,7 @@ public class SubscriptionManager {
     * subscription dynamically in multi-SIM devices.
     *
     * @param subId which subscription is preferred to for cellular data. If it's
     *              {@link SubscriptionManager#INVALID_SUBSCRIPTION_ID}, it means
     *              {@link SubscriptionManager#DEFAULT_SUBSCRIPTION_ID}, it means
     *              it's unset and {@link SubscriptionManager#getDefaultDataSubscriptionId()}
     *              is used to determine which modem is preferred.
     * @hide