Only toggle notification panel on KEYCODE_NOTIFICATION when setup is complete.
Test: manual Bug: 238062361 Change-Id: I7b9030356d478f76b55804c3647d3aab6bced231
This commit is contained in:
@@ -1662,7 +1662,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
|
||||
private void toggleNotificationPanel() {
|
||||
IStatusBarService statusBarService = getStatusBarService();
|
||||
if (statusBarService != null) {
|
||||
if (isUserSetupComplete() && statusBarService != null) {
|
||||
try {
|
||||
statusBarService.togglePanel();
|
||||
} catch (RemoteException e) {
|
||||
|
||||
Reference in New Issue
Block a user