Loading packages/SystemUI/res/values/ids.xml +3 −0 Original line number Diff line number Diff line Loading @@ -294,4 +294,7 @@ <item type="id" name="brightness_dialog_slider" /> <item type="id" name="aod_promoted_notification_view_updater_tag" /> <!-- id for the composable battery meter (see UnifiedBattery.kt) --> <item type="id" name="battery_meter_composable_view" /> </resources> packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt +1 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,7 @@ constructor( val batteryComposeView = ComposeView(mView.context).apply { setContent { id = R.id.battery_meter_composable_view val showBatteryEstimate by showBatteryEstimate.collectAsStateWithLifecycle() BatteryWithEstimate( modifier = Modifier.height(17.dp).wrapContentWidth(), Loading Loading
packages/SystemUI/res/values/ids.xml +3 −0 Original line number Diff line number Diff line Loading @@ -294,4 +294,7 @@ <item type="id" name="brightness_dialog_slider" /> <item type="id" name="aod_promoted_notification_view_updater_tag" /> <!-- id for the composable battery meter (see UnifiedBattery.kt) --> <item type="id" name="battery_meter_composable_view" /> </resources>
packages/SystemUI/src/com/android/systemui/shade/ShadeHeaderController.kt +1 −0 Original line number Diff line number Diff line Loading @@ -366,6 +366,7 @@ constructor( val batteryComposeView = ComposeView(mView.context).apply { setContent { id = R.id.battery_meter_composable_view val showBatteryEstimate by showBatteryEstimate.collectAsStateWithLifecycle() BatteryWithEstimate( modifier = Modifier.height(17.dp).wrapContentWidth(), Loading