Java hangs when calling the function of Notification.requestPermission () in WebView.
error page:
<html>
<body>
<button onclick="foo()">requestPermission()</button>
<script type="text/javascript">
function foo(){
Notification.requestPermission();
}
</script>
</body>
</html>
error page:
<html>
<body>
<button onclick="foo()">requestPermission()</button>
<script type="text/javascript">
function foo(){
Notification.requestPermission();
}
</script>
</body>
</html>