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
This commit is contained in:
@@ -3187,6 +3187,10 @@
|
||||
panning to scaling the magnification viewport. -->
|
||||
<item name="config_screen_magnification_scaling_threshold" format="float" type="dimen">0.3</item>
|
||||
|
||||
<!-- Whether to support magnification area. If not enabled, it would hide the entry in
|
||||
magnification settings and adjust the default magnification capability. -->
|
||||
<bool name="config_magnification_area">true</bool>
|
||||
|
||||
<!-- If true, the display will be shifted around in ambient mode. -->
|
||||
<bool name="config_enableBurnInProtection">false</bool>
|
||||
|
||||
|
||||
@@ -4137,6 +4137,8 @@
|
||||
<java-symbol type="string" name="turn_on_magnification_settings_action" />
|
||||
<java-symbol type="string" name="dismiss_action" />
|
||||
|
||||
<java-symbol type="bool" name="config_magnification_area" />
|
||||
|
||||
<java-symbol type="bool" name="config_trackerAppNeedsPermissions"/>
|
||||
|
||||
<!-- Package with global data query permissions for AppSearch -->
|
||||
|
||||
Reference in New Issue
Block a user