Skip to content

Commit 90cc75f

Browse files
rtibblesdbnicholson
authored andcommitted
Remove use of webview loader to defer url loading to Python code.
1 parent de819ff commit 90cc75f

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
@@ -601,11 +601,6 @@ def make_package(args):
601601
'custom_rules.xml',
602602
args=args)
603603

604-
if get_bootstrap_name() == "webview":
605-
render('WebViewLoader.tmpl.java',
606-
'src/main/java/org/kivy/android/WebViewLoader.java',
607-
args=args)
608-
609604
if args.sign:
610605
render('build.properties', 'build.properties')
611606
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
@@ -217,9 +217,6 @@ public void onPageFinished(WebView view, String url) {
217217
final Thread pythonThread = new Thread(new PythonMain(), "PythonThread");
218218
PythonActivity.mPythonThread = pythonThread;
219219
pythonThread.start();
220-
221-
final Thread wvThread = new Thread(new WebViewLoaderMain(), "WvThread");
222-
wvThread.start();
223220
}
224221
}
225222

@@ -564,10 +561,3 @@ public void run() {
564561
PythonActivity.nativeInit(new String[0]);
565562
}
566563
}
567-
568-
class WebViewLoaderMain implements Runnable {
569-
@Override
570-
public void run() {
571-
WebViewLoader.testConnection();
572-
}
573-
}

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

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

0 commit comments

Comments
 (0)