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

Commit 56b26cfc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Ignore null action in AppRestrictionController." into main

parents 06c052d9 c0081e5a
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);