aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-08-09 22:27:44 +0200
committerChristian Schneppe <christian@pix-art.de>2016-08-09 22:35:20 +0200
commit3082e9d37380319e0fef4da87a527344f98b26f5 (patch)
tree4b208271cc26d35d179e495c35dd9a8d1cdf8f60 /src/main/java/de
parentbb4c255314e0beb1713050cc231f317894997f53 (diff)
don't run backup during check for updates
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/ui/UpdaterActivity.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
index fcd4275a4..bed5ed26b 100644
--- a/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/UpdaterActivity.java
@@ -29,7 +29,6 @@ import java.io.File;
import de.pixart.messenger.Config;
import de.pixart.messenger.R;
-import de.pixart.messenger.services.ExportLogsService;
import de.pixart.messenger.services.UpdaterWebService;
public class UpdaterActivity extends Activity {
@@ -40,7 +39,6 @@ public class UpdaterActivity extends Activity {
private DownloadManager downloadManager;
private long downloadReference;
private String FileName = "update.apk";
- //broadcast receiver to get notification about ongoing downloads
BroadcastReceiver downloadReceiver = new BroadcastReceiver() {
@@ -192,11 +190,6 @@ public class UpdaterActivity extends Activity {
reponseObj = new JSONObject(responseMessage);
boolean success = reponseObj.getBoolean("success");
if (success) {
- if (isStoragePermissionGranted()) {
- //start backing up database
- final Intent startIntent = new Intent(getBaseContext(), ExportLogsService.class);
- getBaseContext().startService(startIntent);
- }
//Overall information about the contents of a package
//This corresponds to all of the information collected from AndroidManifest.xml.
PackageInfo pInfo = null;