Add Advanced button to Apps & notifications page.

- set the progressive mixin to show 3 items initially.

Change-Id: I874982e9b230d5b6afe4f2ced8e8c8c4dd84ba79
Fix: 36177949
Test: visual
This commit is contained in:
Doris Ling
2017-03-13 14:36:12 -07:00
parent 15e53a3f57
commit fe3b134b62

View File

@@ -42,6 +42,12 @@ public class AppAndNotificationDashboardFragment extends DashboardFragment {
return TAG;
}
@Override
public void onAttach(Context context) {
super.onAttach(context);
mProgressiveDisclosureMixin.setTileLimit(3);
}
@Override
protected int getPreferenceScreenResId() {
return R.xml.app_and_notification;