sanders: LineageActions: Upgrade to Oreo Settings UI
* Attach to appropriate Settings pages
* Hide divider lines to match Settings UI styles
* Apply On/Off text on the switch bar toggle
* Implement AOSP Settings preference layouts for indentation
* Depends on android_packages_resources_devicesettings:
"DeviceSettings: Import Oreo Settings layouts"
Ib3f670b19c7e728b97fd76efe04bcc2f69008b06
* Partially based upon commit "Bring DozeSettings up to date"
I0850f7d9558a14f739f752f76002db993381a0e5 by Steve Kondik
for the SwitchBar integration but using native themes
Change-Id: Ic5b8335aafc9ce876ed90a25045398e39515e484
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
|
||||
<protected-broadcast android:name="com.android.systemui.doze.pulse" />
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="26"
|
||||
android:targetSdkVersion="26" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:label="@string/moto_actions_title"
|
||||
@@ -34,7 +38,7 @@
|
||||
</service>
|
||||
|
||||
<activity
|
||||
android:name=".DozeSettings"
|
||||
android:name=".DozeSettingsActivity"
|
||||
android:label="@string/ambient_display_title"
|
||||
android:theme="@style/LineageActions">
|
||||
<intent-filter>
|
||||
@@ -49,7 +53,7 @@
|
||||
android:summary="@string/device_gestures_summary"
|
||||
android:theme="@style/LineageActions">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.settings.action.EXTRA_SETTINGS" />
|
||||
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
||||
</intent-filter>
|
||||
<meta-data
|
||||
android:name="com.android.settings.category"
|
||||
@@ -63,19 +67,19 @@
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".GestureSettings"
|
||||
android:name=".GestureSettingsActivity"
|
||||
android:label="@string/device_gestures_title"
|
||||
android:theme="@style/LineageActions">
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".FPGestureSettings"
|
||||
android:name=".FPGestureSettingsActivity"
|
||||
android:label="@string/fingerprint_gestures_title"
|
||||
android:theme="@style/LineageActions">
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".ScreenOffGestureSettings"
|
||||
android:name=".ScreenOffGestureSettingsActivity"
|
||||
android:label="@string/screen_off_gestures_title"
|
||||
android:theme="@style/LineageActions">
|
||||
</activity>
|
||||
|
||||
Reference in New Issue
Block a user