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

Commit 5b5c8f67 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Notify FSC about app ops in main thread" into qt-dev

parents 4da5dc4d 7284e4f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -596,8 +596,8 @@ public class StatusBar extends SystemUI implements DemoMode,

    @Override
    public void onActiveStateChanged(int code, int uid, String packageName, boolean active) {
        mForegroundServiceController.onAppOpChanged(code, uid, packageName, active);
        Dependency.get(MAIN_HANDLER).post(() -> {
            mForegroundServiceController.onAppOpChanged(code, uid, packageName, active);
            mNotificationListController.updateNotificationsForAppOp(code, uid, packageName, active);
        });
    }