From f78c540cb136991dd4301f3742409f81da20eb2c Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Fri, 5 Jan 2018 12:57:27 -0800 Subject: Parameter to hide bottom affordances Created configurable xml parameter to hide the mic/phone affordance at the bottom of the lock screen, fixed minor animation issue where circle would still expand if affordance isn't visible and set default visibility to false. Test: Double tap to open camera from AoD, lock screen and launcher Test: visual, set config, look at lock screen Bug: 64155983 Change-Id: If5cd2c2c369578480c0ad4e8a98970bcfabd5f3e --- packages/SystemUI/res/values/config.xml | 5 ++++- .../android/systemui/statusbar/phone/KeyguardAffordanceHelper.java | 7 +++++++ .../android/systemui/statusbar/phone/KeyguardBottomAreaView.java | 6 ++++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index e313e868022d..675f79a8d0c7 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -76,8 +76,11 @@ 20 + + false + - true + false