SUW: Set EXTRA_IS_SETUP_FLOW for accessibility settings
* Fixes theming of accessibility page Change-Id: I9739753b8b609772e42a55231bcd878d8d5dbae1
This commit is contained in:
committed by
Michael Bestas
parent
3484c40778
commit
b16ecaf00c
@@ -303,8 +303,9 @@ public abstract class BaseSetupWizardActivity extends Activity implements Naviga
|
||||
|
||||
protected void startAccessibilitySettings() {
|
||||
try {
|
||||
startFirstRunActivityForResult(new Intent(ACTION_ACCESSIBILITY_SETTINGS),
|
||||
ACCESSIBILITY_SETTINGS_ACTIVITY_REQUEST);
|
||||
Intent intent = new Intent(ACTION_ACCESSIBILITY_SETTINGS);
|
||||
intent.putExtra(WizardManagerHelper.EXTRA_IS_SETUP_FLOW, true);
|
||||
startFirstRunActivityForResult(intent, ACCESSIBILITY_SETTINGS_ACTIVITY_REQUEST);
|
||||
applyForwardTransition(TRANSITION_ID_DEFAULT);
|
||||
} catch (ActivityNotFoundException e) {
|
||||
Log.e(TAG, "Can't find the accessibility settings: " +
|
||||
|
Reference in New Issue
Block a user