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

Commit f0b74e30 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Remove two unused filters on PowerUI receiver.

Removing some dead code.

Test: None, remove dead code.
Change-Id: Ibcb31797dc1551f7fed540843afc58cb4eb7d077
parent 3897ad6e
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -147,8 +147,6 @@ public class PowerUI extends SystemUI {
            filter.addAction(Intent.ACTION_SCREEN_OFF);
            filter.addAction(Intent.ACTION_SCREEN_OFF);
            filter.addAction(Intent.ACTION_SCREEN_ON);
            filter.addAction(Intent.ACTION_SCREEN_ON);
            filter.addAction(Intent.ACTION_USER_SWITCHED);
            filter.addAction(Intent.ACTION_USER_SWITCHED);
            filter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGING);
            filter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED);
            mContext.registerReceiver(this, filter, null, mHandler);
            mContext.registerReceiver(this, filter, null, mHandler);
        }
        }