From 901730fe4065c62605281528d1dcdd5c73fe1121 Mon Sep 17 00:00:00 2001 From: Josh Tsuji Date: Thu, 24 Jun 2021 15:16:32 -0400 Subject: [PATCH] Start and end the lift reveal glow slightly farther off screen so it's not slightly visible at the end state. Fixes: 190044198 Test: no more glow Change-Id: If6ae1c90b9855f920062c0cd7c26f24a28d0635e --- .../src/com/android/systemui/statusbar/LightRevealScrim.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/LightRevealScrim.kt b/packages/SystemUI/src/com/android/systemui/statusbar/LightRevealScrim.kt index ec648ad519a38..5d8bed57563ba 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/LightRevealScrim.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/LightRevealScrim.kt @@ -51,7 +51,7 @@ object LiftReveal : LightRevealEffect { private const val OVAL_INITIAL_WIDTH_PERCENT = 0.5f /** The initial top value of the light oval, in percent of scrim height. */ - private const val OVAL_INITIAL_TOP_PERCENT = 1.05f + private const val OVAL_INITIAL_TOP_PERCENT = 1.1f /** The initial bottom value of the light oval, in percent of scrim height. */ private const val OVAL_INITIAL_BOTTOM_PERCENT = 1.2f