Commit 6aeaf8ad authored by zhuw's avatar zhuw Committed by Arne Coucheron

Fix null pointer when copy representantion

add filter

Change-Id: I624079604210042b47c94ac7ce6bb2b5a070e50d
parent 85a78519
......@@ -156,6 +156,7 @@ public class ImagePreset {
}
public void updateOrAddFilterRepresentation(FilterRepresentation rep) {
if (rep == null) return;
int pos = getPositionForRepresentation(rep);
if (pos != -1) {
mFilters.elementAt(pos).useParametersFrom(rep);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment