changed update apk download description

This commit is contained in:
Philipp Schaefer 2013-12-28 20:18:08 +01:00
parent cb281151a2
commit be91809e84
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@
<string name="locate">Get Location</string>
<string name="local">local</string>
<string name="close">Close</string>
<string name="download_description">Downloading latest intel package...</string>
<string name="pref_about_title">About IITC Mobile</string>
<!-- Use CDATA to prevent android from parsing html tags....we are doing this with Html.fromHtml() -->
<string name="pref_about_text">

View File

@ -606,7 +606,7 @@ public class IITC_Mobile extends Activity implements OnSharedPreferenceChangeLis
public void updateIitc(String url) {
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
request.setDescription("downloading IITCm update apk...");
request.setDescription(getString(R.string.download_description));
request.setTitle("IITCm Update");
request.allowScanningByMediaScanner();
Uri fileUri = Uri.parse("file://" + getExternalFilesDir(null).toString() + "/iitcUpdate.apk");