| # SPDX-FileCopyrightText: 2017-2024 The LineageOS Project |
| # SPDX-License-Identifier: Apache-2.0 |
| has_google_suw=$(adb shell pm list packages com.google.android.setupwizard) |
| adb shell pm enable org.lineageos.setupwizard/.FinishActivity || true |
| if [[ ! -z "$has_google_suw" ]] |
| adb shell pm enable com.google.android.setupwizard/.SetupWizardExitActivity || true |
| adb shell am start org.lineageos.setupwizard/.FinishActivity || true |
| if [[ ! -z "$has_google_suw" ]] |
| adb shell am start com.google.android.setupwizard/.SetupWizardExitActivity |