Remove two unused filters on PowerUI receiver.
Removing some dead code. Test: None, remove dead code. Change-Id: Ibcb31797dc1551f7fed540843afc58cb4eb7d077
This commit is contained in:
@@ -147,8 +147,6 @@ public class PowerUI extends SystemUI {
|
||||
filter.addAction(Intent.ACTION_SCREEN_OFF);
|
||||
filter.addAction(Intent.ACTION_SCREEN_ON);
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user