Add the extra style of the reset button to align SuW style.
Bug: 222419452 Test: manual test Change-Id: I3b020129b04b3036a2de8230c759c69e7342e027
This commit is contained in:
@@ -37,6 +37,7 @@ import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settingslib.core.AbstractPreferenceController;
|
||||
import com.android.settingslib.search.SearchIndexable;
|
||||
|
||||
import com.google.android.setupcompat.util.WizardManagerHelper;
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
@@ -168,6 +169,9 @@ public class TextReadingPreferenceFragment extends DashboardFragment {
|
||||
v -> showDialog(DialogEnums.DIALOG_RESET_SETTINGS));
|
||||
resetController.setEntryPoint(mEntryPoint);
|
||||
controllers.add(resetController);
|
||||
if (WizardManagerHelper.isAnySetupWizard(getIntent())) {
|
||||
resetController.setSetupWizardStyle();
|
||||
}
|
||||
|
||||
return controllers;
|
||||
}
|
||||
|
Reference in New Issue
Block a user