Skip to content

Commit 3272a1e

Browse files
committed
Remove use of webview loader to defer url loading to Python code.
1 parent 88b6fe0 commit 3272a1e

File tree

3 files changed

+0
-71
lines changed

3 files changed

+0
-71
lines changed

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -593,11 +593,6 @@ def make_package(args):
593593
'custom_rules.xml',
594594
args=args)
595595

596-
if get_bootstrap_name() == "webview":
597-
render('WebViewLoader.tmpl.java',
598-
'src/main/java/org/kivy/android/WebViewLoader.java',
599-
args=args)
600-
601596
if args.sign:
602597
render('build.properties', 'build.properties')
603598
else:

pythonforandroid/bootstraps/webview/build/src/main/java/org/kivy/android/PythonActivity.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ public void onPageFinished(WebView view, String url) {
225225
final Thread pythonThread = new Thread(new PythonMain(), "PythonThread");
226226
PythonActivity.mPythonThread = pythonThread;
227227
pythonThread.start();
228-
229-
final Thread wvThread = new Thread(new WebViewLoaderMain(), "WvThread");
230-
wvThread.start();
231228
}
232229
}
233230

@@ -572,10 +569,3 @@ public void run() {
572569
PythonActivity.nativeInit(new String[0]);
573570
}
574571
}
575-
576-
class WebViewLoaderMain implements Runnable {
577-
@Override
578-
public void run() {
579-
WebViewLoader.testConnection();
580-
}
581-
}

pythonforandroid/bootstraps/webview/build/templates/WebViewLoader.tmpl.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)