MotoActions: Adapt to S style lineage-19.0
authorTheScarastic <warabhishek@gmail.com>
Wed, 6 Oct 2021 07:25:13 +0000 (07:25 +0000)
committerdianlujitao <dianlujitao@lineageos.org>
Wed, 16 Feb 2022 15:23:41 +0000 (23:23 +0800)
commit860266e24f3c33720e5b558633a40ac77146ff43
tree6eab0f66e4950a84a9b6b004c2431869ba951a09
parent8a96ebc5a1f706e244691c3f3011638c1f778588
MotoActions: Adapt to S style

 * Use Theme.SubSettingsBase for theme
 * Replace PreferenceActivity with CollapsingToolbarBaseActivity
 * Add Titles to preference screen
 * Remove onOptionsItemSelected and where necessary move to activity

Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Change-Id: I87af15f5e165aa7bcd556eb2b716c0ce624ca4e7
MotoActions/AndroidManifest.xml
MotoActions/res/layout/doze.xml [deleted file]
MotoActions/res/xml/actions_panel.xml
MotoActions/res/xml/doze_panel.xml
MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java
MotoActions/src/org/lineageos/settings/device/ActionsPreferenceFragment.java
MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java
MotoActions/src/org/lineageos/settings/device/DozePreferenceFragment.java
MotoActions/src/org/lineageos/settings/device/MotoActionsSettings.java