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

Commit 69115618 authored by James Sullins's avatar James Sullins Committed by Gerrit Code Review
Browse files

SystemUI: disable dock_battery_text if no dock_battery

Change-Id: Ia592c08d1de17496d2167777c3bb455c1a9759e4
parent 70c21646
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -287,6 +287,8 @@ public class TabletStatusBar extends BaseStatusBar implements
            mDockBatteryController.addIconView((ImageView)mNotificationPanel.findViewById(R.id.dock_battery));
            mDockBatteryController.addLabelView(
                    (TextView)mNotificationPanel.findViewById(R.id.dock_battery_text));
        } else {
            mNotificationPanel.findViewById(R.id.dock_battery_text).setVisibility(View.GONE);
        }

        // Bt