Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -5130,7 +5130,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { } final boolean hapticsDisabled = Settings.System.getIntForUser(mContext.getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 0, UserHandle.USER_CURRENT) == 0; if (!always && (hapticsDisabled || mKeyguardDelegate.isShowingAndNotHidden())) { if (!always && (hapticsDisabled || (mKeyguardDelegate != null && mKeyguardDelegate.isShowingAndNotHidden()))) { return false; } long[] pattern = null; Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -5130,7 +5130,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { } final boolean hapticsDisabled = Settings.System.getIntForUser(mContext.getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 0, UserHandle.USER_CURRENT) == 0; if (!always && (hapticsDisabled || mKeyguardDelegate.isShowingAndNotHidden())) { if (!always && (hapticsDisabled || (mKeyguardDelegate != null && mKeyguardDelegate.isShowingAndNotHidden()))) { return false; } long[] pattern = null; Loading