Move Ringtones out of Advanced.

Increase the tile limit in Settings->Sound so that Ringtones is not
hidden inside the Advances options.

Fix: 35318739
Test: Visual

Change-Id: I08db7b79127226bb6ef8ce8f147e5a90f5939d79
This commit is contained in:
Doris Ling
2017-02-14 13:48:01 -08:00
parent b2db7d6f9d
commit a10ff3b109
2 changed files with 26 additions and 24 deletions

View File

@@ -60,7 +60,7 @@
<PreferenceCategory <PreferenceCategory
android:key="ringtones_preferecence_category" android:key="ringtones_preferecence_category"
android:title="@string/ringtones_category_preference_title" /> android:title="@string/ringtones_category_preference_title" >
<!-- Phone ringtone --> <!-- Phone ringtone -->
<com.android.settings.DefaultRingtonePreference <com.android.settings.DefaultRingtonePreference
@@ -87,6 +87,8 @@
android:persistent="false" android:persistent="false"
android:ringtoneType="alarm" /> android:ringtoneType="alarm" />
</PreferenceCategory>
<!-- Other sounds --> <!-- Other sounds -->
<PreferenceCategory <PreferenceCategory
android:key="other_sound_preferecence_category" android:key="other_sound_preferecence_category"

View File

@@ -57,7 +57,7 @@ public class SoundSettings extends DashboardFragment {
@Override @Override
public void onAttach(Context context) { public void onAttach(Context context) {
super.onAttach(context); super.onAttach(context);
mProgressiveDisclosureMixin.setTileLimit(5); mProgressiveDisclosureMixin.setTileLimit(6);
} }
@Override @Override