Loading packages/SystemUI/src/com/android/systemui/qs/tiles/PowerShareTile.java +2 −3 Original line number Diff line number Diff line Loading @@ -57,9 +57,6 @@ public class PowerShareTile extends QSTileImpl<BooleanState> } mBatteryController = batteryController; batteryController.addCallback(this); mNotificationManager = mContext.getSystemService(NotificationManager.class); NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID, Loading @@ -74,6 +71,8 @@ public class PowerShareTile extends QSTileImpl<BooleanState> mNotification = builder.build(); mNotification.flags |= Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT; mNotification.visibility = Notification.VISIBILITY_PUBLIC; batteryController.addCallback(this); } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/PowerShareTile.java +2 −3 Original line number Diff line number Diff line Loading @@ -57,9 +57,6 @@ public class PowerShareTile extends QSTileImpl<BooleanState> } mBatteryController = batteryController; batteryController.addCallback(this); mNotificationManager = mContext.getSystemService(NotificationManager.class); NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID, Loading @@ -74,6 +71,8 @@ public class PowerShareTile extends QSTileImpl<BooleanState> mNotification = builder.build(); mNotification.flags |= Notification.FLAG_NO_CLEAR | Notification.FLAG_ONGOING_EVENT; mNotification.visibility = Notification.VISIBILITY_PUBLIC; batteryController.addCallback(this); } @Override Loading