[Magnifier - 2] Turn magnifier ON

Flip the flag for turning ON the magnifier attached
to Editor's handles.

Bug: 66657373
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: I644c2b834a0c630e5a84a0b948b8667ea988eea6
This commit is contained in:
Andrei Stingaceanu
2017-10-04 11:27:08 +01:00
parent 6c591dd3c3
commit 060b3d7b5c

View File

@@ -141,7 +141,7 @@ public class Editor {
private static final boolean DEBUG_UNDO = false;
// Specifies whether to use or not the magnifier when pressing the insertion or selection
// handles.
private static final boolean FLAG_USE_MAGNIFIER = false;
private static final boolean FLAG_USE_MAGNIFIER = true;
static final int BLINK = 500;
private static final int DRAG_SHADOW_MAX_TEXT_LENGTH = 20;