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

Commit 96ada146 authored by Jack Yu's avatar Jack Yu Committed by Presubmit Automerger Backend
Browse files

[automerge] Notify connectivity service when admin UID changes 2p: 55f4eff7

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

Change-Id: Id9889fc65b4bb36fa506e105bcc4c8aae84d67cc
parents 397e590e 55f4eff7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -620,8 +620,7 @@ public class DataNetwork extends StateMachine {
    private final @NonNull List<QosBearerSession> mQosBearerSessions = new ArrayList<>();

    /**
     * The UIDs of packages that have carrier privilege. These UIDs will not change through the
     * life cycle of data network.
     * The UIDs of packages that have carrier privilege.
     */
    private @NonNull int[] mAdministratorUids = new int[0];

@@ -1013,6 +1012,7 @@ public class DataNetwork extends StateMachine {
                    AsyncResult asyncResult = (AsyncResult) msg.obj;
                    int[] administratorUids = (int[]) asyncResult.result;
                    mAdministratorUids = Arrays.copyOf(administratorUids, administratorUids.length);
                    updateNetworkCapabilities();
                    break;
                }
                case EVENT_BANDWIDTH_ESTIMATE_FROM_MODEM_CHANGED: