Loading packages/SystemUI/src/com/android/systemui/statusbar/DragDownHelper.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ import com.android.systemui.Gefingerpoken; import com.android.systemui.Interpolators; import com.android.systemui.Interpolators; import com.android.systemui.R; import com.android.systemui.R; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.statusbar.phone.StatusBar; /** /** * A utility class to enable the downward swipe on the lockscreen to go to the full shade and expand * A utility class to enable the downward swipe on the lockscreen to go to the full shade and expand Loading Loading @@ -149,6 +150,9 @@ public class DragDownHelper implements Gefingerpoken { } } private boolean isFalseTouch() { private boolean isFalseTouch() { if (!mDragDownCallback.isFalsingCheckNeeded()) { return false; } return mFalsingManager.isFalseTouch() || !mDraggedFarEnough; return mFalsingManager.isFalseTouch() || !mDraggedFarEnough; } } Loading Loading @@ -249,5 +253,6 @@ public class DragDownHelper implements Gefingerpoken { void onCrossedThreshold(boolean above); void onCrossedThreshold(boolean above); void onTouchSlopExceeded(); void onTouchSlopExceeded(); void setEmptyDragAmount(float amount); void setEmptyDragAmount(float amount); boolean isFalsingCheckNeeded(); } } } } packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -4949,6 +4949,11 @@ public class StatusBar extends SystemUI implements DemoMode, mNotificationPanel.setEmptyDragAmount(amount); mNotificationPanel.setEmptyDragAmount(amount); } } @Override public boolean isFalsingCheckNeeded() { return mState == StatusBarState.KEYGUARD; } /** /** * If secure with redaction: Show bouncer, go to unlocked shade. * If secure with redaction: Show bouncer, go to unlocked shade. * * Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/DragDownHelper.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,7 @@ import com.android.systemui.Gefingerpoken; import com.android.systemui.Interpolators; import com.android.systemui.Interpolators; import com.android.systemui.R; import com.android.systemui.R; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.classifier.FalsingManager; import com.android.systemui.statusbar.phone.StatusBar; /** /** * A utility class to enable the downward swipe on the lockscreen to go to the full shade and expand * A utility class to enable the downward swipe on the lockscreen to go to the full shade and expand Loading Loading @@ -149,6 +150,9 @@ public class DragDownHelper implements Gefingerpoken { } } private boolean isFalseTouch() { private boolean isFalseTouch() { if (!mDragDownCallback.isFalsingCheckNeeded()) { return false; } return mFalsingManager.isFalseTouch() || !mDraggedFarEnough; return mFalsingManager.isFalseTouch() || !mDraggedFarEnough; } } Loading Loading @@ -249,5 +253,6 @@ public class DragDownHelper implements Gefingerpoken { void onCrossedThreshold(boolean above); void onCrossedThreshold(boolean above); void onTouchSlopExceeded(); void onTouchSlopExceeded(); void setEmptyDragAmount(float amount); void setEmptyDragAmount(float amount); boolean isFalsingCheckNeeded(); } } } }
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -4949,6 +4949,11 @@ public class StatusBar extends SystemUI implements DemoMode, mNotificationPanel.setEmptyDragAmount(amount); mNotificationPanel.setEmptyDragAmount(amount); } } @Override public boolean isFalsingCheckNeeded() { return mState == StatusBarState.KEYGUARD; } /** /** * If secure with redaction: Show bouncer, go to unlocked shade. * If secure with redaction: Show bouncer, go to unlocked shade. * * Loading