Skip to content

Commit

Permalink
Continue migration from ResurrectionRemix to Renouveau
Browse files Browse the repository at this point in the history
Change-Id: I8867fac905c41be7257824d58d2c06e506a2f70f
  • Loading branch information
JoshuaDoes committed Jun 22, 2019
1 parent 6d0e0a4 commit 15f1149
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/org/lineageos/updater/UpdatesActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,11 @@ private void downloadUpdatesList(final boolean manualRefresh) {
DownloadClient.DownloadCallback callback = new DownloadClient.DownloadCallback() {
@Override
public void onFailure(final boolean cancelled) {
Log.e(TAG, "Could not download updates list");
if (cancelled) {
Log.e(TAG, "User cancelled downloading updates list");
} else {
Log.e(TAG, "Could not download updates list");
}
runOnUiThread(() -> {
if (!cancelled) {
showSnackbar(R.string.snack_updates_check_failed, Snackbar.LENGTH_LONG);
Expand Down
8 changes: 4 additions & 4 deletions src/org/lineageos/updater/misc/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ private Constants() {

public static final String PROP_AB_DEVICE = "ro.build.ab_update";
public static final String PROP_BUILD_DATE = "ro.build.date.utc";
public static final String PROP_BUILD_VERSION = "ro.rr.build.version";
public static final String PROP_DEVICE = "ro.rr.device";
public static final String PROP_BUILD_VERSION = "ro.renouveau.build.version";
public static final String PROP_DEVICE = "ro.renouveau.device";
public static final String PROP_NEXT_DEVICE = "ro.updater.next_device";
public static final String PROP_RELEASE_TYPE = "ro.rr.releasetype";
public static final String PROP_RELEASE_TYPE = "ro.renouveau.releasetype";
public static final String PROP_UPDATER_ALLOW_DOWNGRADING = "lineage.updater.allow_downgrading";
public static final String PROP_UPDATER_URI = "rr.updater.uri";
public static final String PROP_UPDATER_URI = "renouveau.updater.uri";

public static final String PREF_INSTALL_OLD_TIMESTAMP = "install_old_timestamp";
public static final String PREF_INSTALL_NEW_TIMESTAMP = "install_new_timestamp";
Expand Down

0 comments on commit 15f1149

Please sign in to comment.