Modified button configurations and power settings.
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 4d72df4..def7c76 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -253,6 +253,44 @@
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
- <integer name="config_deviceHardwareKeys">67</integer>
+ <integer name="config_deviceHardwareKeys">83</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareWakeKeys">1</integer>
+
+ <!-- Control the behavior when the user long presses the home button.
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+ -->
+ <integer name="config_longPressOnHomeBehavior">3</integer>
+
+ <!-- Control the behavior when the user long presses the app switch button.
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+ -->
+<integer name="config_longPressOnAppSwitchBehavior">1</integer>
</resources>
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index fef21ba..f8edd67 100644
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -17,11 +17,6 @@
<value>0</value>
</array>
<array name="cpu.speeds">
- <value>1700000</value>
- <value>1600000</value>
- <value>1500000</value>
- <value>1400000</value>
- <value>1300000</value>
<value>1200000</value>
<value>1100000</value>
<value>1000000</value>
@@ -37,11 +32,6 @@
<item name="cpu.idle">4</item>
<item name="cpu.awake">167</item>
<array name="cpu.active">
- <value>1003</value>
- <value>937</value>
- <value>825</value>
- <value>710</value>
- <value>633</value>
<value>584</value>
<value>546</value>
<value>510</value>
@@ -55,4 +45,4 @@
<value>231</value>
</array>
<item name="battery.capacity">2600</item> /* mAh */
-</device>
\ No newline at end of file
+</device>