diff options
author | Altaf-Mahdi <altaf.mahdi@gmail.com> | 2016-04-24 23:01:57 +0100 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2017-12-04 09:01:03 +0100 |
commit | 2c64eacd1e9e119f7c8f37fd0fd25c287f3985f2 (patch) | |
tree | 29fe4cbbdacd1ce4ebe63c390f81e20d6f0c722e /overlay/frameworks | |
parent | 62ffd3f42de27f07bd45ef350c873b4d91332ace (diff) |
msm8996-common: doze improvements
* restructure the app
* add a tilt sensor from hammerhead-caf with an option to enable/disable
* add a one time dialog on first start to help users understand how the app works
* remove proximity wake up option and add an option to enable the sensors as soon as the screen turns off
* adjust and add new doze configs
* squashed translations
Change-Id: Ia9d9a807d6c4f1a80a2ba8780e7486560f9a1d87
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'overlay/frameworks')
-rw-r--r-- | overlay/frameworks/base/packages/SystemUI/res/values/config.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index 0f4f11c..b008822 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -28,11 +28,23 @@ <!-- Should "4G" be shown instead of "LTE" when the network is NETWORK_TYPE_LTE? --> <bool name="config_show4GForLTE">true</bool> + <!-- Doze: should the pickup sensor be used as a pulse signal? --> + <bool name="doze_pulse_on_pick_up">true</bool> + <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? --> <bool name="doze_display_state_supported">true</bool> - <!-- Doze: should notifications be used as a pulse signal? --> - <bool name="doze_pulse_on_notifications">false</bool> + <!-- Doze: when to pulse after a buzzworthy notification arrives --> + <string name="doze_pulse_schedule" translatable="false">10s,30s,60s,180s</string> + + <!-- Doze: check proximity sensor before pulsing from intent? --> + <bool name="doze_proximity_check_before_pulse_intent">true</bool> + + <!-- Doze: pulse parameter - how long does it take to fade in after an intent? --> + <integer name="doze_pulse_duration_in_intent">0</integer> + + <!-- Doze: pulse parameter - delay to wait for the screen to wake up after an intent --> + <integer name="doze_pulse_delay_in_intent">0</integer> </resources> |