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

Commit c781598d authored by wangjing's avatar wangjing Committed by Gerrit - the friendly Code Review server
Browse files

SystemUI: Re-enable battery percentage text view for ssss mode

Re-enable battery percentage text view for ssss mode to avoid NPE in
PhoneStatusBar.makeStatusBarView().

Change-Id: I48294a91d6205ff82a8d6216ecd8fc3d1dd4c322
CRs-Fixed: 809653
parent e5bc3bc5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -37,4 +37,13 @@
        android:layout_height="14.5dp"
        android:layout_width="9.5dp"
        android:layout_marginBottom="@dimen/battery_margin_bottom"/>

    <com.android.systemui.BatteryLevelTextView android:id="@+id/battery_level_text"
        android:layout_height="match_parent"
        android:layout_width="wrap_content"
        android:gravity="center"
        android:layout_gravity="center_vertical"
        android:textColor="#ffffff"
        android:textSize="@dimen/battery_level_text_size"
        android:layout_marginStart="7dp"/>
</LinearLayout>