disable splash screen on JS error and HTTP response error code (fixes #475)

This commit is contained in:
Philipp Schaefer
2013-08-10 17:34:18 +02:00
parent e85af06559
commit 855ad003a2
7 changed files with 76 additions and 21 deletions

View File

@ -126,8 +126,8 @@ public class IITC_JSInterface {
}
@JavascriptInterface
public void iitcLoaded() {
Log.d("iitcm", "iitc loaded completely");
public void removeSplashScreen() {
Log.d("iitcm", "removing splash screen");
final IITC_Mobile iitc = ((IITC_Mobile) mContext);
iitc.runOnUiThread(new Runnable() {