SUW: Move re-enabling of status bar to FinishActivity

This is always run both in the GMS and non-GMS flows

Change-Id: If70aa4cec640bacaf7b03da505b90d6c3c5aaf8e
This commit is contained in:
Alessandro Astone
2021-09-05 12:12:52 +02:00
parent 367f321410
commit 841512bf66
2 changed files with 2 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ import com.google.android.setupcompat.util.SystemBarHelper;
import com.google.android.setupcompat.util.WizardManagerHelper;
import org.lineageos.setupwizard.util.EnableAccessibilityController;
import org.lineageos.setupwizard.util.SetupWizardUtils;
import lineageos.providers.LineageSettings;
@@ -183,6 +184,7 @@ public class FinishActivity extends BaseSetupWizardActivity {
WallpaperManager.getInstance(mSetupWizardApp);
wallpaperManager.forgetLoadedWallpaper();
finishAllAppTasks();
SetupWizardUtils.enableStatusBar(this);
Intent intent = WizardManagerHelper.getNextIntent(getIntent(),
Activity.RESULT_OK);
startActivityForResult(intent, NEXT_REQUEST);