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

Commit 1c350925 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Make TrustedPresentationThresholds final"

parents 85e8c367 11c6a49e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51318,7 +51318,7 @@ package android.view {
    method public void onTransactionCommitted();
  }
  public static class SurfaceControl.TrustedPresentationThresholds {
  public static final class SurfaceControl.TrustedPresentationThresholds {
    ctor public SurfaceControl.TrustedPresentationThresholds(@FloatRange(from=0.0f, fromInclusive=false, to=1.0f) float, @FloatRange(from=0.0f, fromInclusive=false, to=1.0f) float, @IntRange(from=1) int);
  }
+4 −4
Original line number Diff line number Diff line
@@ -2505,10 +2505,10 @@ public final class SurfaceControl implements Parcelable {
     * {@link Transaction#setTrustedPresentationCallback(SurfaceControl,
     * TrustedPresentationThresholds, Executor, Consumer)}
     */
    public static class TrustedPresentationThresholds {
        private float mMinAlpha;
        private float mMinFractionRendered;
        private int mStabilityRequirementMs;
    public static final class TrustedPresentationThresholds {
        private final float mMinAlpha;
        private final float mMinFractionRendered;
        private final int mStabilityRequirementMs;

        /**
         * Creates a TrustedPresentationThresholds that's used when calling