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

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

Merge "Add null check for AppOpsService" into main

parents 16b5a626 d894bed2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1031,6 +1031,9 @@ public class AppOpsService extends IAppOpsService.Stub {
        @Override
        public void onReceive(Context context, Intent intent) {
            String action = intent.getAction();
            if (action == null) {
                return;
            }
            String pkgName = intent.getData().getEncodedSchemeSpecificPart().intern();
            int uid = intent.getIntExtra(Intent.EXTRA_UID, Process.INVALID_UID);