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

Commit c70238c2 authored by Lucas Silva's avatar Lucas Silva
Browse files

Open dream customization activity full-screen.

Current behavior is for the 3P dream settings activity to be embedded in
Settings. However, since the 3P activity may have a different theme than
Settings, we should open it in a separate fullscreen activity.

Test: locally on device
Bug: 215733289
Change-Id: I9ced996b47cede874a5c6e8ac0c84914693f527c
parent 56bd7941
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -402,7 +402,10 @@ public class DreamBackend {
        if (dreamInfo == null || dreamInfo.settingsComponentName == null) {
        if (dreamInfo == null || dreamInfo.settingsComponentName == null) {
            return;
            return;
        }
        }
        uiContext.startActivity(new Intent().setComponent(dreamInfo.settingsComponentName));
        final Intent intent = new Intent()
                .setComponent(dreamInfo.settingsComponentName)
                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        uiContext.startActivity(intent);
    }
    }


    public void preview(DreamInfo dreamInfo) {
    public void preview(DreamInfo dreamInfo) {