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

Commit ee23508b authored by Stanley Wang's avatar Stanley Wang
Browse files

Fix NPE in AnomalyDetectionReceiver.

Fixes: 172894032
Test: Settings robotests
Change-Id: I13c1419a43dabc106bc3de9fb5d774ff88b19db5
parent 3181efb8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,9 @@ public class AnomalyDetectionReceiver extends BroadcastReceiver {
                + configKey + " subscriptionId = " + subscriptionId);

        final Bundle bundle = intent.getExtras();
        if (bundle == null) {
            return;
        }
        bundle.putLong(KEY_ANOMALY_TIMESTAMP, System.currentTimeMillis());

        AnomalyDetectionJobService.scheduleAnomalyDetection(context, intent);