OSDN Git Service

Add OWNED_BY field.
authoryuemingw <yuemingw@google.com>
Wed, 8 Nov 2017 13:12:18 +0000 (13:12 +0000)
committeryuemingw <yuemingw@google.com>
Wed, 8 Nov 2017 13:12:18 +0000 (13:12 +0000)
Bug: 68208199
Test: later

Design doc: https://docs.google.com/document/d/1UEYjhRGSEwwccPLs_FzFD-IeOsVq63gxmAHNtDfnzAY/edit#heading=h.jza6dz6kh6bz

Change-Id: Ic78df7902523bad4b3d40bacb73b17d767226aac

telephony/java/android/telephony/Telephony.java

index 1b50861..66ff6e4 100644 (file)
@@ -2805,6 +2805,26 @@ public final class Telephony {
          *  @hide
          */
         public static final int CARRIER_DELETED_BUT_PRESENT_IN_XML = 6;
+
+        /**
+         * The owner of the APN.
+         * <p>Type: INTEGER</p>
+         * @hide
+         */
+        public static final String OWNED_BY = "owned_by";
+
+        /**
+         * Possible value for the OWNED_BY field.
+         * APN is owned by DPC.
+         * @hide
+         */
+        public static final int OWNED_BY_DPC = 0;
+        /**
+         * Possible value for the OWNED_BY field.
+         * APN is owned by other sources.
+         * @hide
+         */
+        public static final int OWNED_BY_OTHERS = 1;
     }
 
     /**