lineage-sdk: Stop using PreferenceScreen styles for preferences

* until it's fixed in androidx

Change-Id: Ia9c1b0edb2066ac91172ab202657b01252c3972d
This commit is contained in:
Volodymyr Zhdanov
2021-10-28 20:25:34 +03:00
committed by Jan Altensen
parent fdd7189e82
commit 0ea65ec244
2 changed files with 3 additions and 3 deletions

View File

@@ -94,8 +94,8 @@ public class RemotePreference extends SelfRemovingPreference
public RemotePreference(Context context, AttributeSet attrs) {
this(context, attrs, ConstraintsHelper.getAttr(context,
androidx.preference.R.attr.preferenceScreenStyle,
android.R.attr.preferenceScreenStyle));
androidx.preference.R.attr.preferenceStyle,
android.R.attr.preferenceStyle));
}
@Override

View File

@@ -51,7 +51,7 @@ public class LineagePartsPreference extends RemotePreference {
}
public LineagePartsPreference(Context context, AttributeSet attrs) {
this(context, attrs, androidx.preference.R.attr.preferenceScreenStyle);
this(context, attrs, androidx.preference.R.attr.preferenceStyle);
}
@Override