OSDN Git Service

Add config var for single-pdn devices/networks.
authorRobert Greenwalt <rgreenwalt@google.com>
Thu, 31 Oct 2013 00:52:32 +0000 (17:52 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Tue, 5 Nov 2013 18:29:01 +0000 (10:29 -0800)
bug:10212445
Change-Id: Iec98bb4a6ad3a38eb7fe876ebcb10515b8a789b7

core/res/res/values/config.xml
core/res/res/values/symbols.xml

index 42ea384..aef8465 100644 (file)
          where if the preferred is used we don't try the others. -->
     <bool name="config_dontPreferApn">false</bool>
 
+    <!-- The list of ril radio technologies (see ServiceState.java) which only support
+         a single data connection at one time.  This may change by carrier via
+         overlays (some don't support multiple pdp on UMTS).  All unlisted radio
+         tech types support unlimited types (practically only 2-4 used). -->
+    <integer-array name="config_onlySingleDcAllowed">
+        <item>4</item>  <!-- IS95A -->
+        <item>5</item>  <!-- IS95B -->
+        <item>6</item>  <!-- 1xRTT -->
+        <item>7</item>  <!-- EVDO_0 -->
+        <item>8</item>  <!-- EVDO_A -->
+        <item>12</item> <!-- EVDO_B -->
+    </integer-array>
+
     <!-- Vibrator pattern to be used as the default for notifications
          that specify DEFAULT_VIBRATE.
      -->
index 22a9402..b85bff4 100644 (file)
   <java-symbol type="array" name="config_locationProviderPackageNames" />
   <java-symbol type="array" name="config_defaultNotificationVibePattern" />
   <java-symbol type="array" name="config_notificationFallbackVibePattern" />
+  <java-symbol type="array" name="config_onlySingleDcAllowed" />
   <java-symbol type="bool" name="config_animateScreenLights" />
   <java-symbol type="bool" name="config_automatic_brightness_available" />
   <java-symbol type="bool" name="config_enableFusedLocationOverlay" />