diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2014-11-15 15:25:51 -0500 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-29 17:36:28 -0700 |
commit | bcd2b57276599e21009f4a180575001650915176 (patch) | |
tree | 0878e445339270190ce1ff98be119aba71d231a2 /AndroidManifest.xml | |
parent | 5719bbe75399c6efeb1b8c3407afea455e0baa9c (diff) | |
download | packages_apps_Settings-bcd2b57276599e21009f4a180575001650915176.zip packages_apps_Settings-bcd2b57276599e21009f4a180575001650915176.tar.gz packages_apps_Settings-bcd2b57276599e21009f4a180575001650915176.tar.bz2 |
Settings: add "advanced" menu to Display/TapToWake
Forward TapToWake from CM11
Contains Commits:
Author: Ricardo Cerqueira<cyanogenmod@cerqueira.org>
DisplaySettings: Add hardware-framework support for tap-to-wake
Since we have tap-to-sleep globally, might as well support the
wake gesture as a standalone thing through the HAF. Place it in
"Display".
Change-Id: I6facc2334ff9e80077581c54c428476594e91528
Author: Roman Birg <roman@cyngn.com>
Settings: set proper default value for tap to wake
The first time the display_settings.xml file gets inflated, the
PreferenceManager takes the defaultValue and persists it in the default
shared preferences file.
When we read the double tap to wake preference,
we assume it has a default value of true, which it uses until the user
enters Display Settings for the first time. At that point, the default
value is persisted, and every boot after will use the default value in
display_settings.xml.
Remove the default defined in the XML file.
Change-Id: I0989dd73b6b3c42ff8649bc17eebf4e191293ee4
Change-Id: I271390aa7bfc56811dcf6fff7e1d05c76c4bfa48
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 8c09426..17eb93d 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -95,6 +95,8 @@ android:usesCleartextTraffic="false"> <!-- Settings --> + <uses-library android:name="org.cyanogenmod.hardware" + android:required="false" /> <activity android:name="Settings" android:taskAffinity="com.android.settings" @@ -2509,6 +2511,12 @@ </intent-filter> </receiver> + <receiver android:name=".cyanogenmod.BootReceiver" android:enabled="true">$ + <intent-filter android:priority="2147483647">$ + <action android:name="android.intent.action.BOOT_COMPLETED" />$ + </intent-filter>$ + </receiver> + <!-- Watch for ContactsContract.Profile changes and update the user's photo. --> <receiver android:name=".users.ProfileUpdateReceiver"> <intent-filter> |