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

Commit 7cc08860 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: I39c2cdbcc92b7677e57d83a0ae67a91b0e672abc
parents 3a3e2a3c 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)) {