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

Commit f330d19a authored by Mike Dodd's avatar Mike Dodd
Browse files

Add context support to backdropper filter.

Part of b/7028438

Change-Id: Idcae38b452abc847c7b869a5568d1c5d831411b7
parent fb3ec448
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -91,6 +91,9 @@ public class BackDropperEffect extends FilterGraphEffect {
        if (parameterKey.equals("source")) {
            Filter background = mGraph.getFilter("background");
            background.setInputValue("sourceUrl", value);
        } else if (parameterKey.equals("context")) {
            Filter background = mGraph.getFilter("background");
            background.setInputValue("context", value);
        }
    }