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

Commit 4fa456a0 authored by Shan Huang's avatar Shan Huang Committed by Automerger Merge Worker
Browse files

Merge "Avoid playing the charging ripple on reboot." into sc-dev am: 7b8e968a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14715991

Change-Id: I279c8e9c73e2fab822136203c33fe67244b2b6c7
parents a19d2748 7b8e968a
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,