Hipri should not be enabled by default. DO NOT MERGE.
Wink Saville [Fri, 16 Aug 2013 16:35:09 +0000 (09:35 -0700)]
This can cause it to become to become the default connection
which it is not and get started instead of default.

Change-Id: I3a223099c53423856e6adfaef4abc0274f9d4c2a

src/java/com/android/internal/telephony/dataconnection/DcTracker.java

index 11a6233..1527b11 100644 (file)
@@ -257,9 +257,7 @@ public final class DcTracker extends DcTrackerBase {
                 apnContext = addApnContext(PhoneConstants.APN_TYPE_DUN, networkConfig);
                 break;
             case ConnectivityManager.TYPE_MOBILE_HIPRI:
-                // Hipri is configured the same as default
                 apnContext = addApnContext(PhoneConstants.APN_TYPE_HIPRI, networkConfig);
-                apnContext.setEnabled(defaultEnabled);
                 continue;
             case ConnectivityManager.TYPE_MOBILE_FOTA:
                 apnContext = addApnContext(PhoneConstants.APN_TYPE_FOTA, networkConfig);