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

Commit f57e5885 authored by John Hoford's avatar John Hoford
Browse files

fix TinyPlanets Filter landscape crash

bug:9038163
Change-Id: Ice1e01dfa0e9ac72e5019fac900e76bd38955e05
parent 286afab1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -433,6 +433,9 @@ public class FilterShowActivity extends FragmentActivity implements OnItemClickL
    }

    public void showRepresentation(FilterRepresentation representation) {
        if (representation == null) {
            return;
        }
        useFilterRepresentation(representation);

        // show representation
@@ -817,7 +820,8 @@ public class FilterShowActivity extends FragmentActivity implements OnItemClickL
        loadXML();
        loadMainPanel();

        if (!mShowingTinyPlanet) {
        // mLoadBitmapTask==null implies you have looked at the intent
        if (!mShowingTinyPlanet && (mLoadBitmapTask == null)) {
            mCategoryFiltersAdapter.removeTinyPlanet();
        }
        final View loading = findViewById(R.id.loading);