Only show first 5 items in sound setting until click More.
Bug: 32255863 Test: RunSettingsRoboTests Change-Id: Ib9449b70e2f2a003b3c6a810d0cc03016d025edb
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user