File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
policy/src/com/android/internal/policy/impl/keyguard Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,8 @@ void setLockPatternUtils(LockPatternUtils utils) {
195195 protected void onAttachedToWindow () {
196196 super .onAttachedToWindow ();
197197 mAppWidgetHost .startListening ();
198- maybePopulateWidgets ();
198+ // TODO: Re-enable when we have layouts that can support a better variety of widgets.
199+ // maybePopulateWidgets();
199200 disableStatusViewInteraction ();
200201 post (mSwitchPageRunnable );
201202 }
@@ -643,11 +644,7 @@ private void showSecurityScreen(SecurityMode securityMode) {
643644 if (securityMode == SecurityMode .None ) {
644645 // Discard current runnable if we're switching back to the selector view
645646 setOnDismissRunnable (null );
646- setSystemUiVisibility (getSystemUiVisibility () | View .STATUS_BAR_DISABLE_BACK );
647- } else {
648- setSystemUiVisibility (getSystemUiVisibility () & (~View .STATUS_BAR_DISABLE_BACK ));
649- }
650-
647+ }
651648 mCurrentSecuritySelection = securityMode ;
652649 }
653650
You can’t perform that action at this time.
0 commit comments