Skip to content

Commit

Permalink
version bump; auto-refresh if set to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
darrikmazey committed Nov 7, 2011
1 parent ced4de8 commit d4af0d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.darmasoft.xymon"
android:versionCode="8"
android:versionName="0.1.9">
android:versionCode="9"
android:versionName="0.2.0">
<uses-sdk android:minSdkVersion="8" />

<permission
Expand Down
4 changes: 4 additions & 0 deletions src/com/darmasoft/xymon/XymonQVActivity.java
Expand Up @@ -41,6 +41,10 @@ protected void onResume() {
registerReceiver(m_receiver, m_filter, "com.darmasoft.xymon.SEND_DATA_NOTIFICATION", null);
XymonQVApplication app = ((XymonQVApplication) getApplication());
app.setIntentForCurrentInterval();
if (app.update_interval() == 0) {
prog_dialog = ProgressDialog.show(this, "", "Loading data...");
startService(new Intent(this, XymonQVService.class));
}
load_status();
}

Expand Down

0 comments on commit d4af0d5

Please sign in to comment.