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

Commit 55f4eff7 authored by Jack Yu's avatar Jack Yu
Browse files

Notify connectivity service when admin UID changes

Test: atest CtsNetTestCases
Fix: 226499984

Change-Id: I95b970b1b38b6c8b5d5822514ed06e5b1cbbfe77
parent d28b058f
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: