Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdcebeeb authored by Cn Chen's avatar Cn Chen Committed by Android (Google) Code Review
Browse files

Merge "[Migration] pass suw extra intent to wallpaper page"

parents 0c6e6767 6eee7948
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ import androidx.annotation.VisibleForTesting;
import com.android.settings.R;
import com.android.settings.core.SubSettingLauncher;

import com.google.android.setupcompat.util.WizardManagerHelper;

public class WallpaperSuggestionActivity extends Activity {

    @Override
@@ -39,6 +41,10 @@ public class WallpaperSuggestionActivity extends Activity {
                .setClassName(getString(R.string.config_wallpaper_picker_package),
                        getString(R.string.config_wallpaper_picker_class))
                .addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);

        // passing the necessary extra to next page
        WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent);

        if (pm.resolveActivity(intent, 0) != null) {
            startActivity(intent);
        } else {