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

Commit 81a734c5 authored by Nikita Dubrovsky's avatar Nikita Dubrovsky
Browse files

Enable cursor drag by default for editable TextViews

Bug: 143852764
Bug: 145535274
Test: Manual and ran tests
  atest FrameworksCoreTests:EditorCursorDragTest
  atest FrameworksCoreTests:TextViewActivityTest
  atest FrameworksCoreTests:TextViewActivityMouseTest
Change-Id: I19ec46194a2ee9926070010b85f45c12135c950b
parent 1f78b11b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ public class Editor {

    // Specifies whether to allow starting a cursor drag by dragging anywhere over the text.
    @VisibleForTesting
    public static boolean FLAG_ENABLE_CURSOR_DRAG = false;
    public static boolean FLAG_ENABLE_CURSOR_DRAG = true;
    // Specifies whether to use the magnifier when pressing the insertion or selection handles.
    private static final boolean FLAG_USE_MAGNIFIER = true;