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

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

Merge "Ignore null action in DeviceIdleController." into main

parents c809cb93 bb7ba084
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -666,7 +666,12 @@ public class DeviceIdleController extends SystemService

    private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
        @Override public void onReceive(Context context, Intent intent) {
            switch (intent.getAction()) {
            final String action = intent.getAction();
            if (action == null) {
                return;
            }

            switch (action) {
                case ConnectivityManager.CONNECTIVITY_ACTION: {
                    updateConnectivityState(intent);
                } break;