Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,11 @@ public class KeyguardHostView extends KeyguardViewBase { showPrimarySecurityScreen(false); updateSecurityViews(); // Make sure at least this view is focusable in case nothing below it is. Otherwise, // requestFocus() on this view will fail and allow events, such as volume keys, to be // handled by the fallback handler. See bug 7546960 for details. setFocusableInTouchMode(true); } private boolean shouldEnableAddWidget() { Loading Loading @@ -881,6 +886,7 @@ public class KeyguardHostView extends KeyguardViewBase { if (mViewStateManager != null) { mViewStateManager.showUsabilityHints(); } requestFocus(); } @Override Loading @@ -900,6 +906,7 @@ public class KeyguardHostView extends KeyguardViewBase { if (cameraPage != null) { cameraPage.onScreenTurnedOff(); } clearFocus(); } public void clearAppWidgetToShow() { Loading policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -209,6 +209,7 @@ public class KeyguardViewManager { if (force || mKeyguardView == null) { inflateKeyguardView(options); mKeyguardView.requestFocus(); } updateUserActivityTimeoutInWindowLayoutParams(); mViewManager.updateViewLayout(mKeyguardHost, mWindowLayoutParams); Loading Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java +7 −0 Original line number Diff line number Diff line Loading @@ -286,6 +286,11 @@ public class KeyguardHostView extends KeyguardViewBase { showPrimarySecurityScreen(false); updateSecurityViews(); // Make sure at least this view is focusable in case nothing below it is. Otherwise, // requestFocus() on this view will fail and allow events, such as volume keys, to be // handled by the fallback handler. See bug 7546960 for details. setFocusableInTouchMode(true); } private boolean shouldEnableAddWidget() { Loading Loading @@ -881,6 +886,7 @@ public class KeyguardHostView extends KeyguardViewBase { if (mViewStateManager != null) { mViewStateManager.showUsabilityHints(); } requestFocus(); } @Override Loading @@ -900,6 +906,7 @@ public class KeyguardHostView extends KeyguardViewBase { if (cameraPage != null) { cameraPage.onScreenTurnedOff(); } clearFocus(); } public void clearAppWidgetToShow() { Loading
policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -209,6 +209,7 @@ public class KeyguardViewManager { if (force || mKeyguardView == null) { inflateKeyguardView(options); mKeyguardView.requestFocus(); } updateUserActivityTimeoutInWindowLayoutParams(); mViewManager.updateViewLayout(mKeyguardHost, mWindowLayoutParams); Loading