Skip to content

Commit

Permalink
Merge pull request #654 from liaxim/setenabled
Browse files Browse the repository at this point in the history
Correct jni method name
  • Loading branch information
liaxim authored Jun 30, 2016
2 parents 535e747 + 112f4d7 commit 76d80ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void setEnable(boolean flag) {
mIsEnabled = flag;
if (getNative() != 0)
{
NativeComponent.setEnabled(getNative(), flag);
NativeComponent.setEnable(getNative(), flag);
}
if (flag)
{
Expand Down Expand Up @@ -221,6 +221,6 @@ class NativeComponent {
static native long getType(long component);
static native void setOwnerObject(long component, long owner);
static native boolean isEnabled(long component);
static native void setEnabled(long component, boolean flag);
static native void setEnable(long component, boolean flag);
}

0 comments on commit 76d80ed

Please sign in to comment.