Skip to content

Commit

Permalink
Bump version code
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkel committed Dec 8, 2017
1 parent 9a83e33 commit d2e80d0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId "com.zegoggles.smssync"
minSdkVersion 9
targetSdkVersion 10
versionCode 1558
versionName "1.5.11-beta5"
versionCode 1559
versionName "1.5.11-beta6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/assets/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h2 style="margin-bottom: -14px">

<h3>New in this release:</h3>
<ul>
<li>Use JobManager to run backups in the background (thanks <a href="https://github.com/MadsAndreasen">Mads Andreasen<a> for initial implementation)</li>
<li>Improved backup schedule reliability (thanks <a href="https://github.com/MadsAndreasen">Mads Andreasen<a> for initial JobManager implementation)</li>
<li>Replaced WebView auth with browser</li>
<li>Improved restore experience (thanks <a href="https://github.com/angryziber">Anton Keks/angryziber</a>)</li>
<li>Updated notification images</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class HeaderGenerator {
private final String reference;
private final String version;

public HeaderGenerator(String reference, String version) {
HeaderGenerator(String reference, String version) {
this.version = version;
this.reference = reference;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import android.util.Log;
import com.zegoggles.smssync.App;
import com.zegoggles.smssync.activity.AutoBackupSettingsChangedEvent;
import com.zegoggles.smssync.preferences.Preferences;

import static com.zegoggles.smssync.App.LOCAL_LOGV;
import static com.zegoggles.smssync.App.TAG;
Expand All @@ -16,8 +17,8 @@ public void onReceive(Context context, Intent intent) {
if (LOCAL_LOGV) Log.v(TAG, "onReceive(" + context + "," + intent + ")");

if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction())) {
Log.d(TAG, "updating");
// let application handle the rest
Log.d(TAG, "updating to version " + new Preferences(context).getVersion(true));
// just post event and let application handle the rest
App.bus.post(new AutoBackupSettingsChangedEvent());
} else {
Log.w(TAG, "unhandled intent: "+intent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ public void backupStateChanged(BackupState state) {

final JobParameters jobParameters = jobs.remove(state.backupType.name());
if (jobParameters != null) {
Log.v(TAG, "jobFinished("+jobParameters+", isError="+state.isError()+")");
if (LOCAL_LOGV) {
Log.v(TAG, "jobFinished(" + jobParameters + ", isError=" + state.isError() + ")");
}
jobFinished(jobParameters, state.isError());
} else {
Log.w(TAG, "unknown job for state "+state);
Expand Down

0 comments on commit d2e80d0

Please sign in to comment.