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

Commit 11d1f603 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Streamline SystemUI proguard flags"

parents 15b00ade 3d9c5d3e
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
-keep class com.android.systemui.navigationbar.buttons.KeyButtonView {
  public float getDrawingAlpha();
  public void setDrawingAlpha(float);
}

-keep class com.android.systemui.navigationbar.buttons.KeyButtonRipple {
  public float getGlowAlpha();
  public float getGlowScale();
  public void setGlowAlpha(float);
  public void setGlowScale(float);
}

-keep class com.android.systemui.settings.brightness.BrightnessSliderView {
  public float getSliderScaleY();
  public void setSliderScaleY(float);
}

-keep class com.android.systemui.recents.OverviewProxyRecentsImpl
-keep class com.android.systemui.statusbar.car.CarStatusBar
-keep class com.android.systemui.statusbar.phone.StatusBar
+10 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ import android.view.View;
import android.view.ViewConfiguration;
import android.view.animation.Interpolator;

import androidx.annotation.Keep;

import com.android.systemui.R;
import com.android.systemui.animation.Interpolators;

@@ -184,19 +186,27 @@ public class KeyButtonRipple extends Drawable {
        }
    }

    /** Gets the glow alpha, used by {@link android.animation.ObjectAnimator} via reflection. */
    @Keep
    public float getGlowAlpha() {
        return mGlowAlpha;
    }

    /** Sets the glow alpha, used by {@link android.animation.ObjectAnimator} via reflection. */
    @Keep
    public void setGlowAlpha(float x) {
        mGlowAlpha = x;
        invalidateSelf();
    }

    /** Gets the glow scale, used by {@link android.animation.ObjectAnimator} via reflection. */
    @Keep
    public float getGlowScale() {
        return mGlowScale;
    }

    /** Sets the glow scale, used by {@link android.animation.ObjectAnimator} via reflection. */
    @Keep
    public void setGlowScale(float x) {
        mGlowScale = x;
        invalidateSelf();
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.view.View;
import android.widget.FrameLayout;
import android.widget.SeekBar.OnSeekBarChangeListener;

import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

@@ -183,6 +184,7 @@ public class BrightnessSliderView extends FrameLayout {
     *
     * Used in {@link com.android.systemui.qs.QSAnimator}.
     */
    @Keep
    public void setSliderScaleY(float scale) {
        if (scale != mScale) {
            mScale = scale;
@@ -199,6 +201,7 @@ public class BrightnessSliderView extends FrameLayout {
        }
    }

    @Keep
    public float getSliderScaleY() {
        return mScale;
    }