Merge "Remove onUhandledInputEvent API." into nyc-dev am: a1e4cbe211 am: 9e0ff89010
am: 56ef817f1e
* commit '56ef817f1e8805b6da304067a60a06b4fa86f995':
Remove onUhandledInputEvent API.
Change-Id: Ic0a52c81f611719e5bd8d51a141b48fa62ea8222
This commit is contained in:
@@ -45794,8 +45794,7 @@ package android.webkit {
|
||||
method public void onReceivedSslError(android.webkit.WebView, android.webkit.SslErrorHandler, android.net.http.SslError);
|
||||
method public void onScaleChanged(android.webkit.WebView, float, float);
|
||||
method public deprecated void onTooManyRedirects(android.webkit.WebView, android.os.Message, android.os.Message);
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
method public deprecated void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public deprecated android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, java.lang.String);
|
||||
method public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, android.webkit.WebResourceRequest);
|
||||
method public boolean shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
|
||||
@@ -466,6 +466,14 @@ package android.view {
|
||||
|
||||
}
|
||||
|
||||
package android.webkit {
|
||||
|
||||
public class WebViewClient {
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.widget {
|
||||
|
||||
public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
|
||||
|
||||
@@ -48916,8 +48916,7 @@ package android.webkit {
|
||||
method public void onReceivedSslError(android.webkit.WebView, android.webkit.SslErrorHandler, android.net.http.SslError);
|
||||
method public void onScaleChanged(android.webkit.WebView, float, float);
|
||||
method public deprecated void onTooManyRedirects(android.webkit.WebView, android.os.Message, android.os.Message);
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
method public deprecated void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public deprecated android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, java.lang.String);
|
||||
method public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, android.webkit.WebResourceRequest);
|
||||
method public boolean shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
|
||||
@@ -464,6 +464,14 @@ package android.view {
|
||||
|
||||
}
|
||||
|
||||
package android.webkit {
|
||||
|
||||
public class WebViewClient {
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.widget {
|
||||
|
||||
public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
|
||||
|
||||
@@ -45873,8 +45873,7 @@ package android.webkit {
|
||||
method public void onReceivedSslError(android.webkit.WebView, android.webkit.SslErrorHandler, android.net.http.SslError);
|
||||
method public void onScaleChanged(android.webkit.WebView, float, float);
|
||||
method public deprecated void onTooManyRedirects(android.webkit.WebView, android.os.Message, android.os.Message);
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
method public deprecated void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public void onUnhandledKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
method public deprecated android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, java.lang.String);
|
||||
method public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView, android.webkit.WebResourceRequest);
|
||||
method public boolean shouldOverrideKeyEvent(android.webkit.WebView, android.view.KeyEvent);
|
||||
|
||||
@@ -466,6 +466,14 @@ package android.view {
|
||||
|
||||
}
|
||||
|
||||
package android.webkit {
|
||||
|
||||
public class WebViewClient {
|
||||
method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.widget {
|
||||
|
||||
public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener {
|
||||
|
||||
@@ -403,9 +403,7 @@ public class WebViewClient {
|
||||
*
|
||||
* @param view The WebView that is initiating the callback.
|
||||
* @param event The key event.
|
||||
* @deprecated This method is subsumed by the more generic onUnhandledInputEvent.
|
||||
*/
|
||||
@Deprecated
|
||||
public void onUnhandledKeyEvent(WebView view, KeyEvent event) {
|
||||
onUnhandledInputEventInternal(view, event);
|
||||
}
|
||||
@@ -427,6 +425,7 @@ public class WebViewClient {
|
||||
*
|
||||
* @param view The WebView that is initiating the callback.
|
||||
* @param event The input event.
|
||||
* @removed
|
||||
*/
|
||||
public void onUnhandledInputEvent(WebView view, InputEvent event) {
|
||||
if (event instanceof KeyEvent) {
|
||||
|
||||
Reference in New Issue
Block a user