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

Commit 4d4ba1a7 authored by Chandru S's avatar Chandru S Committed by Automerger Merge Worker
Browse files

Merge "Remove dead code from KeyguardUpdateMonitor" into tm-qpr-dev am: 20a0bce4 am: bee1d1f9

parents 9c8e10d0 bee1d1f9
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -2036,17 +2036,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
                    .getServiceStateForSubscriber(subId);
            mHandler.sendMessage(
                    mHandler.obtainMessage(MSG_SERVICE_STATE_CHANGE, subId, 0, serviceState));

            // Get initial state. Relying on Sticky behavior until API for getting info.
            if (mBatteryStatus == null) {
                Intent intent = mContext.registerReceiver(
                        null,
                        new IntentFilter(Intent.ACTION_BATTERY_CHANGED)
                );
                if (intent != null && mBatteryStatus == null) {
                    mBroadcastReceiver.onReceive(mContext, intent);
                }
            }
        });

        final IntentFilter allUserFilter = new IntentFilter();