Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 995082f1 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Remove vertical gestures prevention code, fixed in frameworks now"

parents e7f61fee e229a9f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -493,5 +493,5 @@
    <string name="gestures_toggle_sound">Toggle sound</string>
    <string name="pref_lockscreen_disable_unlock_tab">Disable unlock slider</string>
    <string name="pref_lockscreen_disable_unlock_tab_summary">Note: You need to enable trackball, menu key, or gesture unlocking before this option becomes available</string>
    <string name="gestures_explain_create_screen">Pick an action to perform (or select Unlock or Sound) and draw a gesture on the screen.\nNote that single-leg vertical (up or down) gestures are invalid.</string>
    <string name="gestures_explain_create_screen">Pick an action to perform (or select Unlock or Sound) and draw a gesture on the screen.</string>
</resources>
+0 −9
Original line number Diff line number Diff line
@@ -118,15 +118,6 @@ public class GestureCreateActivity extends Activity {
            if (mGesture.getLength() < LENGTH_THRESHOLD) {
                overlay.clear(false);
            }
            // check vertical state - can't be less than 45 deg from vertical
            // I'd like to fix this but for now... keep people from making
            // gestures they can't reproduce on the lockscreen
            if (mGesture.getStrokesCount() == 1) {
                RectF box = mGesture.getBoundingBox();
                if (Math.abs(box.width() / box.height()) < 1.0) {
                    overlay.clear(false);
                }
            }
            mDoneButton.setEnabled(true);
        }