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

Commit f3591c3a authored by Johannes Gallmann's avatar Johannes Gallmann Committed by Android (Google) Code Review
Browse files

Revert "Fix flake in StatusbarChipsScreenshotTest"

Revert submission 25554588-statusbar-chips-test-flake

Reason for revert: CL didn't fix the test flakes

Reverted changes: /q/submissionid:25554588-statusbar-chips-test-flake

Change-Id: Id4738b0d2fdf8882f6dbe0b854e3a40fff834cc7
parent 89897429
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -66,8 +66,6 @@ public class BatteryMeterView extends LinearLayout implements DarkReceiver {
    public static final int MODE_ON = 1;
    public static final int MODE_OFF = 2;
    public static final int MODE_ESTIMATE = 3;
    @VisibleForTesting
    public static final long LAYOUT_TRANSITION_DURATION = 200;

    private final AccessorizedBatteryDrawable mDrawable;
    private final ImageView mBatteryIconView;
@@ -136,7 +134,7 @@ public class BatteryMeterView extends LinearLayout implements DarkReceiver {

    private void setupLayoutTransition() {
        LayoutTransition transition = new LayoutTransition();
        transition.setDuration(LAYOUT_TRANSITION_DURATION);
        transition.setDuration(200);

        // Animates appearing/disappearing of the battery percentage text using fade-in/fade-out
        // and disables all other animation types