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

Verified Commit acc52c31 authored by Manu Suresh's avatar Manu Suresh
Browse files

FP6: parts: filter out null intents in SliderSwitchStateReceiver

parent 9ba3c413
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ public class SliderSwitchStateReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent == null || intent.getAction() == null) return;

        Log.d(TAG, "Received broadcast: " + intent);
        Log.d(TAG, "Action: " + intent.getAction());