telephony: Set profile DATA_PROFILE_TETHERED when DUN type
Sungmin Choi [Sat, 7 Sep 2013 07:22:48 +0000 (00:22 -0700)]
Bug: 11152852
Change-Id: I018e3dfb9c8183b11faedc83cc40be658173c4a3

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

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

index 5f34bdd..2db30f9 100644 (file)
@@ -2223,6 +2223,8 @@ public final class DcTracker extends DcTrackerBase {
             return RILConstants.DATA_PROFILE_CBS;
         } else if (TextUtils.equals(apnType, PhoneConstants.APN_TYPE_IA)) {
             return RILConstants.DATA_PROFILE_DEFAULT; // DEFAULT for now
+        } else if (TextUtils.equals(apnType, PhoneConstants.APN_TYPE_DUN)) {
+            return RILConstants.DATA_PROFILE_TETHERED;
         } else {
             return RILConstants.DATA_PROFILE_DEFAULT;
         }