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

Commit 385313da authored by zhuw's avatar zhuw Committed by Arne Coucheron
Browse files

Fix custom filter don't work when first click after back to original

clear current filter representation when run back to original

Change-Id: Ib07479dcc87a3c99e30f15bb41fe04cade841007
CRs-Fixed: 2099190
parent de46c7f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2425,6 +2425,7 @@ public class FilterShowActivity extends AbstractPermissionActivity implements On
        mMasterImage.setFusionUnderlay(null);
        mMasterImage.resetTranslation();
        mMasterImage.setScaleFactor(1);
        mMasterImage.setCurrentFilterRepresentation(null);
        ArrayList<FilterRepresentation> frList = FiltersManager.getManager().getTools();
        for (FilterRepresentation fr : frList) {
            if (fr instanceof FilterRotateRepresentation) {