From ab72f7bb7beb1e045c6fa8b343f1fa42d19cc3f3 Mon Sep 17 00:00:00 2001 From: mincheli Date: Wed, 20 Jan 2021 15:06:06 +0800 Subject: [PATCH] Adds a new config flag, config_magnification_area We adds a new config flag to control whether to enable "magnification area" of the window magnifier. If "magnification area" is not enabled, we would hide the settings entry in magnification settings and adjust both the magnifcation capability settings and the promt settings. Bug: 177371954 Test: none Change-Id: Ib14dc6f48d5695c5729b2552cac72ac603db0436 (cherry picked from commit 0b488920eab844c8e181fa0776f158fe8d81ea15) Merged-In: Ib14dc6f48d5695c5729b2552cac72ac603db0436 --- core/res/res/values/config.xml | 4 ++++ core/res/res/values/symbols.xml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 5e0cda69911be..afd6444518e72 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -3202,6 +3202,10 @@ panning to scaling the magnification viewport. --> 0.3 + + true + false diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index dfccdf4bd9a5f..01c93894e4d75 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -4142,6 +4142,8 @@ + +