doze: Adapt to S style

* Reference e7db7fc560

* Adapted and rewritten in Kt

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

Change-Id: I4d35ade6f45022944df4db787948c03b5bc14e5f
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
Signed-off-by: Bruno Martins <bgcngm@gmail.com>
This commit is contained in:
TheScarastic
2021-10-14 01:19:10 +05:30
committed by LuK1337
parent 3f5b2402b6
commit e854088f20
13 changed files with 32 additions and 288 deletions

View File

@@ -2,7 +2,7 @@
public <init>(android.content.Context, android.util.AttributeSet);
}
-keep class ** extends android.support.v14.preference.PreferenceFragment
-keep class ** extends androidx.preference.PreferenceFragment
-keep class org.lineageos.settings.doze.* {
*;
}