LSW: Fix backtrack to LineageSettings fragment
The current handling results in the followup activity to ignore it for backtracks which means when going from Location -> LineageSettings -> Fingerprint the move backwards from Fingerprint leads up in Location and not the expected LineageSettings. The custom handling is necessary to process the result in the Google SUW, so it has been fixed to properly work now. Change-Id: Ifae5dc8fda07b61bd0271da1d1589059ab40cd39
This commit is contained in:
committed by
Bruno Martins
parent
f1bfe7e2de
commit
1229f410b7
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016 The CyanogenMod Project
|
* Copyright (C) 2016 The CyanogenMod Project
|
||||||
* Copyright (C) 2017-2019 The LineageOS Project
|
* Copyright (C) 2017-2020 The LineageOS Project
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -134,14 +134,9 @@ public class LineageSettingsActivity extends BaseSetupWizardActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNavigateBack() {
|
protected void onNextPressed() {
|
||||||
onBackPressed();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onNavigateNext() {
|
|
||||||
Intent intent = WizardManagerHelper.getNextIntent(getIntent(), Activity.RESULT_OK);
|
Intent intent = WizardManagerHelper.getNextIntent(getIntent(), Activity.RESULT_OK);
|
||||||
startActivityForResult(intent, 1);
|
nextAction(NEXT_REQUEST, intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user