aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2015-09-21 20:00:42 +0200
committerChristian S <christian@pix-art.de>2015-09-21 20:00:42 +0200
commit771e5c2264f1fe4e47a7ccb313c17aac6b3995ca (patch)
treeb5d5589251e929d912a3ef403e7eb6b34cdd6e20 /src
parentfc5b1e515a7ec33868ebf49283b5b7cb34c1204a (diff)
corrected imports
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java b/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java
index f2733bb9f..4f43a70b8 100644
--- a/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java
@@ -16,7 +16,7 @@ import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
-import android.widget.TextView;
+import android.view.WindowManager;
import android.widget.Toast;
import org.json.JSONException;
@@ -50,8 +50,8 @@ public class UpdaterActivity extends Activity {
//disable touch events
getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE,
- WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
-
+ WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
+
//Overall information about the contents of a package
//This corresponds to all of the information collected from AndroidManifest.xml.
PackageInfo pInfo = null;
@@ -173,6 +173,7 @@ public class UpdaterActivity extends Activity {
//oh yeah we do need an upgrade, let the user know send an alert message
AlertDialog.Builder builder = new AlertDialog.Builder(UpdaterActivity.this);
builder.setCancelable(false);
+
builder.setMessage(R.string.update_available)
.setPositiveButton(R.string.update, new DialogInterface.OnClickListener() {
//if the user agrees to upgrade