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

Commit 7b8e968a authored by Shan Huang's avatar Shan Huang Committed by Android (Google) Code Review
Browse files

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

parents c8863205 67298a5d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,