Merge "Add a new feature flag for the expand button in support lib."

This commit is contained in:
Doris Ling
2017-09-15 21:38:31 +00:00
committed by Android (Google) Code Review
14 changed files with 570 additions and 11 deletions

View File

@@ -60,7 +60,8 @@ public class AppAndNotificationDashboardFragment extends DashboardFragment {
@Override
protected int getPreferenceScreenResId() {
return R.xml.app_and_notification;
return mProgressiveDisclosureMixin.isEnabled()
? R.xml.app_and_notification : R.xml.app_and_notification_new_advance_button;
}
@Override