1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public String getPanoUrl() {
88
88
return ("/image/" + tempPanoFile .getName ());
89
89
}
90
90
91
- private static class LocalContentWebViewClient extends WebViewClientCompat {
91
+ private class LocalContentWebViewClient extends WebViewClientCompat {
92
92
93
93
private final WebViewAssetLoader mAssetLoader ;
94
94
@@ -104,7 +104,7 @@ public WebResourceResponse shouldInterceptRequest(WebView view,
104
104
105
105
}
106
106
107
- public static class WebAppInterface {
107
+ public class WebAppInterface {
108
108
109
109
PanoView panoView ;
110
110
@@ -114,12 +114,7 @@ public static class WebAppInterface {
114
114
115
115
@ JavascriptInterface
116
116
public void fullScreen () {
117
- new Handler (Looper .getMainLooper ()).post (new Runnable (){
118
- @ Override
119
- public void run () {
120
- panoView .performClick ();
121
- }
122
- });
117
+ new Handler (Looper .getMainLooper ()).post (() -> panoView .performClick ());
123
118
124
119
}
125
120
}
0 commit comments