From 060b3d7b5c75dcf28da793c93f2fa7de6765e85e Mon Sep 17 00:00:00 2001 From: Andrei Stingaceanu Date: Wed, 4 Oct 2017 11:27:08 +0100 Subject: [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 --- core/java/android/widget/Editor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-59-g8ed1b