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

Commit 19120bff authored by Chuck Liao's avatar Chuck Liao
Browse files

Switch back to gallery page when the back key is pressed in the wallpapers

page.

Bug: 149670265
Change-Id: I333c9e24ba72807258740e4b2a46e879feff380b
parent a35ce9d3
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -293,6 +293,9 @@ public class CustomizationPickerActivity extends FragmentActivity implements Wal

    @Override
    public void onBackPressed() {
        if (mWallpaperCategoryFragment != null && mWallpaperCategoryFragment.popChildFragment()) {
            return;
        }
        if (getSupportFragmentManager().popBackStackImmediate()) {
            return;
        }
@@ -332,14 +335,6 @@ public class CustomizationPickerActivity extends FragmentActivity implements Wal
        mDelegate.showViewOnlyPreview(wallpaperInfo);
    }

    /**
     * Shows the picker activity for the given category.
     */
    @Override
    public void show(String collectionId) {
        mDelegate.show(collectionId);
    }

    @Override
    public void onWallpapersReady() {