mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-01 22:49:39 +08:00
refactor: java 5 migration aid - remove unnecessary unboxing
This commit is contained in:
parent
680407fa58
commit
f9bf8a14f8
@ -81,7 +81,7 @@ public class SystemWebView extends WebView implements CordovaWebViewEngine.Engin
|
|||||||
public boolean dispatchKeyEvent(KeyEvent event) {
|
public boolean dispatchKeyEvent(KeyEvent event) {
|
||||||
Boolean ret = parentEngine.client.onDispatchKeyEvent(event);
|
Boolean ret = parentEngine.client.onDispatchKeyEvent(event);
|
||||||
if (ret != null) {
|
if (ret != null) {
|
||||||
return ret.booleanValue();
|
return ret;
|
||||||
}
|
}
|
||||||
return super.dispatchKeyEvent(event);
|
return super.dispatchKeyEvent(event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user