Loading res/values/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ <string name="menu_copy_url">Copy URL</string> <string name="menu_export_update">Export update</string> <string name="menu_show_changelog">Show changelog</string> <string name="menu_changelog_url" translatable="false">https://images.ecloud.global/<xliff:g id="release_type">%3$s</xliff:g>/<xliff:g id="device_name">%1$s</xliff:g>/e-<xliff:g id="version">%2$s</xliff:g>.zip.changelog</string> <string name="menu_changelog_url" translatable="false">https://gitlab.e.foundation/e/os/releases/-/releases/v<xliff:g id="build_version">%1$s</xliff:g>-nougat</string> <string name="snack_updates_found">New updates found</string> <string name="snack_no_updates_found">No new updates found</string> Loading src/org/lineageos/updater/misc/Utils.java +2 −7 Original line number Diff line number Diff line Loading @@ -161,14 +161,9 @@ public class Utils { } public static String getChangelogURL(Context context) { String device = SystemProperties.get(Constants.PROP_NEXT_DEVICE, SystemProperties.get(Constants.PROP_DEVICE)); String version = SystemProperties.get(Constants.PROP_VERSION); String releaseType = SystemProperties.get(Constants.PROP_RELEASE_TYPE); String buildVersion = SystemProperties.get(Constants.PROP_BUILD_VERSION); return context.getString(R.string.menu_changelog_url, device, version, releaseType); return context.getString(R.string.menu_changelog_url, buildVersion); } public static void triggerUpdate(Context context, String downloadId) { Loading Loading
res/values/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ <string name="menu_copy_url">Copy URL</string> <string name="menu_export_update">Export update</string> <string name="menu_show_changelog">Show changelog</string> <string name="menu_changelog_url" translatable="false">https://images.ecloud.global/<xliff:g id="release_type">%3$s</xliff:g>/<xliff:g id="device_name">%1$s</xliff:g>/e-<xliff:g id="version">%2$s</xliff:g>.zip.changelog</string> <string name="menu_changelog_url" translatable="false">https://gitlab.e.foundation/e/os/releases/-/releases/v<xliff:g id="build_version">%1$s</xliff:g>-nougat</string> <string name="snack_updates_found">New updates found</string> <string name="snack_no_updates_found">No new updates found</string> Loading
src/org/lineageos/updater/misc/Utils.java +2 −7 Original line number Diff line number Diff line Loading @@ -161,14 +161,9 @@ public class Utils { } public static String getChangelogURL(Context context) { String device = SystemProperties.get(Constants.PROP_NEXT_DEVICE, SystemProperties.get(Constants.PROP_DEVICE)); String version = SystemProperties.get(Constants.PROP_VERSION); String releaseType = SystemProperties.get(Constants.PROP_RELEASE_TYPE); String buildVersion = SystemProperties.get(Constants.PROP_BUILD_VERSION); return context.getString(R.string.menu_changelog_url, device, version, releaseType); return context.getString(R.string.menu_changelog_url, buildVersion); } public static void triggerUpdate(Context context, String downloadId) { Loading