summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrei Stingaceanu <stg@google.com> 2017-10-04 11:27:08 +0100
committer Andrei Stingaceanu <stg@google.com> 2017-10-04 11:27:08 +0100
commit060b3d7b5c75dcf28da793c93f2fa7de6765e85e (patch)
tree37ea02bb8fbeb9e176fe0fe23a2cc2b0d6f4d69e
parent6c591dd3c3c1bf0f9868da7cc13cdc8b87791bc8 (diff)
[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
-rw-r--r--core/java/android/widget/Editor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java
index 8003575e28d8..afd11881e6d5 100644
--- a/core/java/android/widget/Editor.java
+++ b/core/java/android/widget/Editor.java
@@ -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;