BearND has uploaded a new change for review.
https://gerrit.wikimedia.org/r/167303
Change subject: Back to using https for alpha updater
......................................................................
Back to using https for alpha updater
Change-Id: I84f9ebc22edd07d34f174163694eae197beab1db
---
M wikipedia/src/main/java/org/wikipedia/alphaupdater/AlphaUpdateChecker.java
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia
refs/changes/03/167303/1
diff --git
a/wikipedia/src/main/java/org/wikipedia/alphaupdater/AlphaUpdateChecker.java
b/wikipedia/src/main/java/org/wikipedia/alphaupdater/AlphaUpdateChecker.java
index 3e79be9..efd3b37 100644
--- a/wikipedia/src/main/java/org/wikipedia/alphaupdater/AlphaUpdateChecker.java
+++ b/wikipedia/src/main/java/org/wikipedia/alphaupdater/AlphaUpdateChecker.java
@@ -34,7 +34,7 @@
// Check for updates!
String responseJSON;
try {
- HttpRequest request =
HttpRequest.get("http://android-builds.wmflabs.org/runs/latest/meta.json");
+ HttpRequest request =
HttpRequest.get("https://android-builds.wmflabs.org/runs/latest/meta.json");
responseJSON = request.body();
} catch (HttpRequest.HttpRequestException e) {
// It's ok, we can do nothing.
@@ -58,7 +58,7 @@
}
private void showNotification() {
- Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://android-builds.wmflabs.org/runs/latest/wikipedia.apk"));
+ Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://android-builds.wmflabs.org/runs/latest/wikipedia.apk"));
PendingIntent pintent = PendingIntent.getActivity(getContext(), 0,
intent, 0);
Notification notification = new
NotificationCompat.Builder(getContext()).setSmallIcon(R.drawable.launcher_alpha)
--
To view, visit https://gerrit.wikimedia.org/r/167303
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I84f9ebc22edd07d34f174163694eae197beab1db
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: BearND <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits