Merge "Add context support to backdropper filter." into jb-mr1-dev

This commit is contained in:
Mike Dodd
2012-09-07 08:43:35 -07:00
committed by Android (Google) Code Review

View File

@@ -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);
}
}