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

Commit 188e0810 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Ignore null action in ActivityManagerService." into main

parents 5991319a 4407d43c
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -5239,6 +5239,11 @@ public class ActivityManagerService extends IActivityManager.Stub
        mContext.registerReceiver(new BroadcastReceiver() {
        mContext.registerReceiver(new BroadcastReceiver() {
            @Override
            @Override
            public void onReceive(Context context, Intent intent) {
            public void onReceive(Context context, Intent intent) {
                final String action = intent.getAction();
                if (action == null) {
                    return;
                }
                String[] pkgs = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
                String[] pkgs = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES);
                if (pkgs != null) {
                if (pkgs != null) {
                    for (String pkg : pkgs) {
                    for (String pkg : pkgs) {