diff options
author | Christian S <christian@pix-art.de> | 2015-09-21 20:00:42 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-09-21 20:00:42 +0200 |
commit | 771e5c2264f1fe4e47a7ccb313c17aac6b3995ca (patch) | |
tree | b5d5589251e929d912a3ef403e7eb6b34cdd6e20 /src | |
parent | fc5b1e515a7ec33868ebf49283b5b7cb34c1204a (diff) |
corrected imports
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java | 7 |
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 |