Merge "Add config value to switch between Tether Settings UIs."

This commit is contained in:
Zhen Zhang
2020-01-23 07:07:09 +00:00
committed by Android (Google) Code Review
6 changed files with 35 additions and 7 deletions

View File

@@ -109,6 +109,10 @@ public class TetherPreferenceController extends AbstractPreferenceController imp
// Grey out if provisioning is not available.
mPreference.setEnabled(!TetherSettings.isProvisioningNeededButUnavailable(mContext));
if (mContext.getResources().getBoolean(R.bool.config_show_all_in_one_tether_settings)) {
mPreference.setFragment("com.android.settings.AllInOneTetherSettings");
}
}
}