From 30377db99546eca15c60a168c770fa7c60d4ccea Mon Sep 17 00:00:00 2001 From: Caitlin Cassidy Date: Tue, 3 Aug 2021 21:09:48 +0000 Subject: [PATCH] [View Controllers] Move KeyguardStatusBarView#setKeyguardUserSwitcherEnabled to the controller. Test: manual Bug: 195442899 Change-Id: I770c45728618f07a27be0b83d8a1194cd9ef1dd1 --- .../systemui/statusbar/phone/KeyguardStatusBarView.java | 2 +- .../statusbar/phone/KeyguardStatusBarViewController.java | 5 +++++ .../statusbar/phone/NotificationPanelViewController.java | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java index a73cad7d2c6d6..647df589316d1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java @@ -321,7 +321,7 @@ public class KeyguardStatusBarView extends RelativeLayout { } } - public void setKeyguardUserSwitcherEnabled(boolean enabled) { + void setKeyguardUserSwitcherEnabled(boolean enabled) { mKeyguardUserSwitcherEnabled = enabled; } diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java index 8770e86df7351..f11664c0482bc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java @@ -183,6 +183,11 @@ public class KeyguardStatusBarViewController extends ViewController