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

Commit d4d51d76 authored by gang.huang's avatar gang.huang
Browse files

Ignore null action in VcnManagementService$VcnBroadcastReceiver

Bug: 376183723
Test: Manual.
Change-Id: I079421b080942eb49db0c2aeb09e2c75378a0c3b
parent 56b26cfc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -524,6 +524,9 @@ public class VcnManagementService extends IVcnManagementService.Stub {
        @Override
        public void onReceive(Context context, Intent intent) {
            final String action = intent.getAction();
            if (action == null) {
                return;
            }

            switch (action) {
                case Intent.ACTION_PACKAGE_ADDED: // Fallthrough