Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35341342 authored by Alan Viverette's avatar Alan Viverette Committed by android-build-merger
Browse files

Merge "DO NOT MERGE Clean up SettingsLib dependencies" into pi-dev

am: 9ecfce3b

Change-Id: I08aec9e06936ae7704c449c0e6220ddc83222aec
parents 88f7fd36 9ecfce3b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@ LOCAL_SHARED_ANDROID_LIBRARIES := \
    android-support-v7-recyclerview \
    android-support-v7-preference \
    android-support-v7-appcompat \
    android-support-v14-preference \
    android-arch-lifecycle-runtime

LOCAL_SHARED_JAVA_LIBRARIES := \
+4 −0
Original line number Diff line number Diff line
@@ -48,4 +48,8 @@

    <attr name="footerPreferenceStyle" format="reference" />

    <!-- Workaround for b/74248169. These are duplicates of attrs in AndroidX preferences. -->
    <attr name="preferenceStyle" format="reference" />
    <attr name="switchPreferenceStyle" format="reference" />

</resources>
+1 −2
Original line number Diff line number Diff line
@@ -44,8 +44,7 @@ public class RestrictedPreference extends TwoTargetPreference {
    }

    public RestrictedPreference(Context context, AttributeSet attrs) {
        this(context, attrs, TypedArrayUtils.getAttr(context,
                android.support.v7.preference.R.attr.preferenceStyle,
        this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.preferenceStyle,
                android.R.attr.preferenceStyle));
    }

+1 −2
Original line number Diff line number Diff line
@@ -82,8 +82,7 @@ public class RestrictedSwitchPreference extends SwitchPreference {
    }

    public RestrictedSwitchPreference(Context context, AttributeSet attrs) {
        this(context, attrs, TypedArrayUtils.getAttr(context,
                android.support.v7.preference.R.attr.switchPreferenceStyle,
        this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.switchPreferenceStyle,
                android.R.attr.switchPreferenceStyle));
    }