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

Commit e0338d25 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Notify connectivity service when admin UID changes" into tm-dev

parents 6c4163a1 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: