OSDN Git Service

Store subscriber ID / IMSI into telephony database
authorNazanin Bakhshi <nazaninb@google.com>
Wed, 29 May 2019 19:13:14 +0000 (12:13 -0700)
committerNazanin Bakhshi <nazaninb@google.com>
Wed, 29 May 2019 22:50:11 +0000 (15:50 -0700)
Bug: 131916175
Test: manual
Change-Id: Ia353d23cff698d973bd63ac59fd92dd0f2978317

telephony/java/android/telephony/SubscriptionManager.java

index addd9e0..b13a44f 100644 (file)
@@ -775,6 +775,14 @@ public class SubscriptionManager {
     public static final int PROFILE_CLASS_DEFAULT = PROFILE_CLASS_UNSET;
 
     /**
+     * IMSI (International Mobile Subscriber Identity).
+     * <P>Type: TEXT </P>
+     * @hide
+     */
+    //TODO: add @SystemApi
+    public static final String IMSI = "imsi";
+
+    /**
      * Broadcast Action: The user has changed one of the default subs related to
      * data, phone calls, or sms</p>
      *