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

Commit c4372f1a authored by Fan Zhang's avatar Fan Zhang Committed by Android (Google) Code Review
Browse files

Merge "Only show first 5 items in sound setting until click More."

parents d5e2bfcc b1ddde17
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -62,6 +62,12 @@ public class SoundSettings extends DashboardFragment {
    private WorkSoundPreferenceController mWorkSoundController;
    private RingtonePreference mRequestPreference;

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        mProgressiveDisclosureMixin.setTileLimit(5);
    }

    @Override
    public int getMetricsCategory() {
        return MetricsEvent.SOUND;