aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidevinavil <davidevinavil@gmail.com>2017-02-04 07:31:01 +0100
committerdavidevinavil <davidevinavil@gmail.com>2017-04-07 13:12:17 +0200
commitb59d7118975e03fd5df0c5b5addf8c3c05a92683 (patch)
treeb05c15acbcf3c2d95ce1d4b4353068e805219254
parent4c466059e8af55e390d5680b22c5c301fccd7a07 (diff)
z2_plus: Remove key and doze overlay
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml64
-rw-r--r--overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml172
2 files changed, 0 insertions, 236 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 4dbbf91..3d1815e 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -345,61 +345,6 @@
<!-- Whether Multiuser UI should be shown -->
<bool name="config_enableMultiUserUI">true</bool>
- <!-- ComponentName of a dream to show whenever the system would otherwise have
- gone to sleep. When the PowerManager is asked to go to sleep, it will instead
- try to start this dream if possible. The dream should typically call startDozing()
- to put the display into a low power state and allow the application processor
- to be suspended. When the dream ends, the system will go to sleep as usual.
- Specify the component name or an empty string if none.
-
- Note that doze dreams are not subject to the same start conditions as ordinary dreams.
- Doze dreams will run whenever the power manager is in a dozing state. -->
- <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
-
- <!-- If true, the doze component is not started until after the screen has been
- turned off and the screen off animation has been performed. -->
- <bool name="config_dozeAfterScreenOff">true</bool>
-
- <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
- device from the display on/off state.
-
- When false, autosuspend_disable() will be called before the display is turned on
- and autosuspend_enable() will be called after the display is turned off.
- This mode provides best compatibility for devices using legacy power management
- features such as early suspend / late resume.
-
- When true, autosuspend_display() and autosuspend_enable() will be called
- independently of whether the display is being turned on or off. This mode
- enables the power manager to suspend the application processor while the
- display is on.
-
- This resource should be set to "true" when a doze component has been specified
- to maximize power savings but not all devices support it.
-
- Refer to autosuspend.h for details.
- -->
- <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
-
- <!-- Power Management: Specifies whether to decouple the interactive state of the
- device from the display on/off state.
- When false, setInteractive(..., true) will be called before the display is turned on
- and setInteractive(..., false) will be called after the display is turned off.
- This mode provides best compatibility for devices that expect the interactive
- state to be tied to the display state.
- When true, setInteractive(...) will be called independently of whether the display
- is being turned on or off. This mode enables the power manager to reduce
- clocks and disable the touch controller while the display is on.
- This resource should be set to "true" when a doze component has been specified
- to maximize power savings but not all devices support it.
- Refer to power.h for details.
- -->
- <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
-
- <!-- Screen brightness used to dim the screen while dozing in a very low power state.
- May be less than the minimum allowed brightness setting
- that can be set by the user. -->
- <integer name="config_screenBrightnessDoze">17</integer>
-
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
@@ -454,15 +399,6 @@
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
- <!-- Set this to true to enable the platform's auto-power-save modes like doze and
- app standby. These are not enabled by default because they require a standard
- cloud-to-device messaging service for apps to interact correctly with the modes
- (such as to be able to deliver an instant message to the device even when it is
- dozing). This should be enabled if you have such services and expect apps to
- correctly use them when installed on your device. Otherwise, keep this disabled
- so that applications can still use their own mechanisms. -->
- <bool name="config_enableAutoPowerModes">true</bool>
-
<!-- Integer parameters of the wifi to cellular handover feature
wifi should not stick to bad networks -->
<integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-100</integer>
diff --git a/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml b/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml
deleted file mode 100644
index 1d6a85e..0000000
--- a/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2016 RR
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<PreferenceScreen
-
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
- android:title="@string/button_settings">
-
- <PreferenceCategory
- android:key="hardware_keys"
- android:title="@string/hardware_keys_category" >
-
- <SwitchPreference
- android:key="hardware_keys_disable"
- android:title="@string/hardware_keys_disable_title" />
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:key="back_key"
- android:title="@string/hardware_keys_back_key_title" >
-
-
- <cyanogenmod.preference.CMSystemSettingSwitchPreference
- android:key="back_wake_screen"
- android:title="@string/button_wake_title"
- android:defaultValue="false" />
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_back_single_tap"
- android:summary="@string/hardware_keys_single_tap_summary"
- android:title="@string/hardware_keys_single_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_back_double_tap"
- android:summary="@string/hardware_keys_double_tap_summary"
- android:title="@string/hardware_keys_double_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:key="home_key"
- android:title="@string/hardware_keys_home_key_title" >
-
-
- <cyanogenmod.preference.CMSystemSettingSwitchPreference
- android:key="home_wake_screen"
- android:title="@string/button_wake_title"
- android:defaultValue="true" />
-
- <SwitchPreference
- android:key="home_answer_call"
- android:title="@string/home_answer_call_title"
- android:summary="@string/home_answer_call_summary"
- android:persistent="false"/>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_home_single_tap"
- android:summary="@string/hardware_keys_single_tap_summary"
- android:title="@string/hardware_keys_single_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_home_long_press"
- android:summary="@string/hardware_keys_long_press_summary"
- android:title="@string/hardware_keys_long_press_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_home_double_tap"
- android:summary="@string/hardware_keys_double_tap_summary"
- android:title="@string/hardware_keys_double_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:key="app_switch_key"
- android:title="@string/hardware_keys_appswitch_key_title" >
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_overview_single_tap"
- android:summary="@string/hardware_keys_single_tap_summary"
- android:title="@string/hardware_keys_single_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_overview_double_tap"
- android:summary="@string/hardware_keys_double_tap_summary"
- android:title="@string/hardware_keys_double_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:key="menu_key"
- android:title="@string/hardware_keys_menu_key_title" >
-
- <cyanogenmod.preference.CMSystemSettingSwitchPreference
- android:key="menu_wake_screen"
- android:title="@string/button_wake_title"
- android:defaultValue="false" />
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_menu_single_tap"
- android:summary="@string/hardware_keys_single_tap_summary"
- android:title="@string/hardware_keys_single_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_menu_double_tap"
- android:summary="@string/hardware_keys_double_tap_summary"
- android:title="@string/hardware_keys_double_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- </PreferenceCategory>
-
- <PreferenceCategory
- android:key="assist_key"
- android:title="@string/hardware_keys_assist_key_title" >
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_assist_single_tap"
- android:summary="@string/hardware_keys_single_tap_summary"
- android:title="@string/hardware_keys_single_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_assist_long_press"
- android:summary="@string/hardware_keys_long_press_summary"
- android:title="@string/hardware_keys_long_press_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
- <com.android.settings.rr.Preferences.ActionPreference
- android:key="hwkeys_button_assist_double_tap"
- android:summary="@string/hardware_keys_double_tap_summary"
- android:title="@string/hardware_keys_double_tap_title" >
- </com.android.settings.rr.Preferences.ActionPreference>
-
-
-</PreferenceCategory>
-
-
- <PreferenceCategory
- android:key="power_key"
- android:title="@string/hardware_keys_power_key_title" >
-
- <SwitchPreference
- android:key="power_end_call"
- android:title="@string/power_end_call_title"
- android:summary="@string/power_end_call_summary"
- android:persistent="false"/>
-
- </PreferenceCategory>
-
-</PreferenceScreen>