Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab72f7bb authored by mincheli's avatar mincheli Committed by Minche Li
Browse files

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 0b488920)
Merged-In: Ib14dc6f48d5695c5729b2552cac72ac603db0436
parent f15709a8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3202,6 +3202,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>

+2 −0
Original line number Diff line number Diff line
@@ -4142,6 +4142,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 -->