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

Commit 3a951da9 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Don't animate the circle battery meter when battery is fully charged" into cm-11.0

parents f59d0693 64bb3a2d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -767,7 +767,8 @@ public class BatteryMeterView extends View implements DemoMode {
         * uses mInvalidate for delayed invalidate() callbacks
         */
        private void updateChargeAnim(BatteryTracker tracker) {
            if (!tracker.shouldIndicateCharging()) {
            if (!tracker.shouldIndicateCharging()
                    || tracker.status == BatteryManager.BATTERY_STATUS_FULL) {
                if (mIsAnimating) {
                    mIsAnimating = false;
                    mAnimOffset = 0;