Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f24afc37 authored by Chen Xu's avatar Chen Xu Committed by Automerger Merge Worker
Browse files

Merge "trigger carrier identification does not run when prefer APN change"...

Merge "trigger carrier identification does not run when prefer APN change" into rvc-dev am: 40f4b789

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/11891387

Change-Id: Idf864aef43571e69f7dbc996c10d632b59bf5880
parents 8c418a1f 40f4b789
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
package com.android.internal.telephony;

import static android.provider.Telephony.CarrierId;
import static android.provider.Telephony.Carriers.CONTENT_URI;

import android.annotation.NonNull;
import android.annotation.Nullable;
@@ -101,7 +102,7 @@ public class CarrierResolver extends Handler {
    private final ContentObserver mContentObserver = new ContentObserver(this) {
        @Override
        public void onChange(boolean selfChange, Uri uri) {
            if (CONTENT_URL_PREFER_APN.equals(uri.getLastPathSegment())) {
            if (Telephony.Carriers.CONTENT_URI.equals(uri)) {
                logd("onChange URI: " + uri);
                sendEmptyMessage(PREFER_APN_UPDATE_EVENT);
            } else if (CarrierId.All.CONTENT_URI.equals(uri)) {