Example usage for android.webkit WebView disablePlatformNotifications

List of usage examples for android.webkit WebView disablePlatformNotifications

Introduction

In this page you can find the example usage for android.webkit WebView disablePlatformNotifications.

Prototype

@Deprecated
@UnsupportedAppUsage
public static void disablePlatformNotifications() 

Source Link

Document

Disables platform notifications of data state and proxy changes.

Usage

From source file:android.webkit.cts.WebViewTest.java

@UiThreadTest
public void testPlatformNotifications() {
    if (!NullWebViewUtils.isWebViewAvailable()) {
        return;/*from  ww w.j a  v  a2  s  .c  o m*/
    }
    WebView.enablePlatformNotifications();
    WebView.disablePlatformNotifications();
}