mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-01 14:33:00 +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) {
|
||||
Boolean ret = parentEngine.client.onDispatchKeyEvent(event);
|
||||
if (ret != null) {
|
||||
return ret.booleanValue();
|
||||
return ret;
|
||||
}
|
||||
return super.dispatchKeyEvent(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user