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

Commit dc5fccf8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore null action in AppRestrictionController." into main am: 56b26cfc am: 9fc2987e

parents 60df4ed3 9fc2987e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -373,7 +373,10 @@ public final class AppRestrictionController {
        @Override
        public void onReceive(Context context, Intent intent) {
            final String action = intent.getAction();
            switch (intent.getAction()) {
            if (action == null) {
                return;
            }
            switch (action) {
                case Intent.ACTION_PACKAGE_ADDED: {
                    if (!intent.getBooleanExtra(Intent.EXTRA_REPLACING, false)) {
                        final int uid = intent.getIntExtra(Intent.EXTRA_UID, -1);