Merge "Avoid playing the charging ripple on reboot." into sc-dev

This commit is contained in:
Shan Huang
2021-05-26 07:41:03 +00:00
committed by Android (Google) Code Review

View File

@@ -83,6 +83,7 @@ class WiredChargingRippleController @Inject constructor(
var rippleView: ChargingRippleView = ChargingRippleView(context, attrs = null)
init {
pluggedIn = batteryController.isPluggedIn
val batteryStateChangeCallback = object : BatteryController.BatteryStateChangeCallback {
override fun onBatteryLevelChanged(
level: Int,