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

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

Merge "Ignore null action in BackgroundJobsController." into main

parents c00fdec4 8d7fc246
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;