Merge "Only toggle notification panel on KEYCODE_NOTIFICATION when setup is complete."
This commit is contained in:
committed by
Android (Google) Code Review
commit
9be01f68d8
@@ -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