Loading src/java/com/android/internal/telephony/dataconnection/DcTracker.java +2 −2 Original line number Diff line number Diff line Loading @@ -3245,8 +3245,8 @@ public class DcTracker extends Handler { // ORDER BY Telephony.Carriers._ID ("_id") Cursor cursor = mPhone.getContext().getContentResolver().query( Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "filtered"), null, selection, null, Telephony.Carriers._ID); Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "filtered/subId/" + mPhone.getSubId()), null, selection, null, Telephony.Carriers._ID); if (cursor != null) { if (cursor.getCount() > 0) { Loading tests/telephonytests/src/com/android/internal/telephony/dataconnection/DcTrackerTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -208,8 +208,8 @@ public class DcTrackerTest extends TelephonyTest { logd(" sortOrder = " + sortOrder); if (uri.compareTo(Telephony.Carriers.CONTENT_URI) == 0 || uri.compareTo(Uri.withAppendedPath( Telephony.Carriers.CONTENT_URI, "filtered")) == 0) { || uri.toString().startsWith(Uri.withAppendedPath( Telephony.Carriers.CONTENT_URI, "filtered").toString())) { if (projection == null && selectionArgs == null && selection != null) { Pattern pattern = Pattern.compile("^numeric = '([0-9]*)'"); Loading Loading
src/java/com/android/internal/telephony/dataconnection/DcTracker.java +2 −2 Original line number Diff line number Diff line Loading @@ -3245,8 +3245,8 @@ public class DcTracker extends Handler { // ORDER BY Telephony.Carriers._ID ("_id") Cursor cursor = mPhone.getContext().getContentResolver().query( Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "filtered"), null, selection, null, Telephony.Carriers._ID); Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "filtered/subId/" + mPhone.getSubId()), null, selection, null, Telephony.Carriers._ID); if (cursor != null) { if (cursor.getCount() > 0) { Loading
tests/telephonytests/src/com/android/internal/telephony/dataconnection/DcTrackerTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -208,8 +208,8 @@ public class DcTrackerTest extends TelephonyTest { logd(" sortOrder = " + sortOrder); if (uri.compareTo(Telephony.Carriers.CONTENT_URI) == 0 || uri.compareTo(Uri.withAppendedPath( Telephony.Carriers.CONTENT_URI, "filtered")) == 0) { || uri.toString().startsWith(Uri.withAppendedPath( Telephony.Carriers.CONTENT_URI, "filtered").toString())) { if (projection == null && selectionArgs == null && selection != null) { Pattern pattern = Pattern.compile("^numeric = '([0-9]*)'"); Loading