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

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

Merge "Ignore null action in BackgroundJobsController." into main am: f09d4f12 am: 0927187e

parents c8d759b8 0927187e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -84,9 +84,13 @@ public final class BackgroundJobsController extends StateController {
    private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
        @Override
        public void onReceive(Context context, Intent intent) {
            final String action = intent.getAction();
            if (action == null) {
                return;
            }

            final String pkgName = getPackageName(intent);
            final int pkgUid = intent.getIntExtra(Intent.EXTRA_UID, -1);
            final String action = intent.getAction();
            if (pkgUid == -1) {
                Slog.e(TAG, "Didn't get package UID in intent (" + action + ")");
                return;