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
This commit is contained in:
Malcolm Chen
2018-11-12 20:13:29 -08:00
parent 4d73d87d83
commit 003c8e5cca

View File

@@ -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