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

Commit 77028c32 authored by Lyn Han's avatar Lyn Han Committed by Automerger Merge Worker
Browse files

Merge "Add system property to enable nssl debug mode via adb" into sc-dev am:...

Merge "Add system property to enable nssl debug mode via adb" into sc-dev am: 0758e8b3 am: ec5fef62 am: ad9af680

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

Change-Id: I73af9e775741f4493730b87c5bf464732fbb355e
parents 1bfb97b6 ad9af680
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ import android.graphics.Paint;
import android.graphics.PointF;
import android.graphics.Rect;
import android.os.Bundle;
import android.os.SystemProperties;
import android.os.UserHandle;
import android.provider.Settings;
import android.util.AttributeSet;
@@ -129,7 +130,12 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable

    public static final float BACKGROUND_ALPHA_DIMMED = 0.7f;
    private static final String TAG = "StackScroller";
    private static final boolean DEBUG = false;

    // Usage:
    // adb shell setprop persist.debug.nssl true && adb reboot
    private static final boolean DEBUG = SystemProperties.getBoolean("persist.debug.nssl",
            false /* default */);

    private static final float RUBBER_BAND_FACTOR_NORMAL = 0.35f;
    private static final float RUBBER_BAND_FACTOR_AFTER_EXPAND = 0.15f;
    private static final float RUBBER_BAND_FACTOR_ON_PANEL_EXPAND = 0.21f;