sdk: Allow to hide and set a default for status bar DT2S gesture

There might be edge cases of devices that have no power button
and no way to control externally connected displays. In such cases,
if display has touch support, DT2S shouldn't be allowed at all.

Change-Id: I3976f138d02f0b6ddf8ce239cb8c3a19ab737b67
This commit is contained in:
Bruno Martins
2023-10-02 10:04:21 +01:00
parent 944e76f7c7
commit 944cb718fb
2 changed files with 8 additions and 0 deletions

View File

@@ -22,6 +22,10 @@
<integer name="config_proximityCheckTimeout">250</integer>
<bool name="config_proximityCheckOnWakeEnabledByDefault">false</bool>
<!-- Default values for status bar DT2S gesture -->
<bool name="config_dt2sGestureAvailable">true</bool>
<bool name="config_dt2sGestureEnabledByDefault">true</bool>
<!-- Default values for LiveDisplay -->
<bool name="config_enableLiveDisplay">true</bool>
<integer name="config_dayColorTemperature">6500</integer>

View File

@@ -31,6 +31,10 @@
<!-- Proximity check on screen on default -->
<java-symbol type="bool" name="config_proximityCheckOnWakeEnabledByDefault" />
<!-- Status bar DT2S gesture -->
<java-symbol type="bool" name="config_dt2sGestureAvailable" />
<java-symbol type="bool" name="config_dt2sGestureEnabledByDefault" />
<!-- LiveDisplay -->
<java-symbol type="bool" name="config_enableLiveDisplay" />
<java-symbol type="string" name="live_display_title" />