check network state onResume. use cached tiles if on mobile network (see #225)

This commit is contained in:
Philipp Schaefer
2013-05-03 11:34:57 +02:00
parent 9575e4b4c2
commit fb90f9139c
2 changed files with 24 additions and 2 deletions

View File

@ -127,6 +127,7 @@ public class IITC_Mobile extends Activity {
Log.d("iitcm", "resuming...setting reset idleTimer");
iitc_view.loadUrl("javascript: window.idleTime = 0");
iitc_view.loadUrl("javascript: window.renderUpdateStatus()");
iitc_view.updateCaching();
if (user_loc == true) {
// Register the listener with the Location Manager to receive location updates