[android] #5887 - Custom layer crash fix + updated test case
This commit is contained in:
@@ -20,7 +20,7 @@ public class CustomLayer extends Layer {
|
||||
super(nativePtr);
|
||||
}
|
||||
|
||||
public void invalidate() {
|
||||
public void update() {
|
||||
nativeUpdate();
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ public abstract class Layer {
|
||||
}
|
||||
}
|
||||
|
||||
public void invalidate() {
|
||||
public final void invalidate() {
|
||||
this.invalidated = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user