Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
android_packages_apps_Updater
Commits
2d1bb8b3
Commit
2d1bb8b3
authored
Mar 23, 2021
by
Aayush Gupta
Browse files
Updater: Change 'Show changelog' into 'Show release notes'
Signed-off-by:
Aayush Gupta
<
theimpulson@e.email
>
parent
d7067e36
Changes
3
Hide whitespace changes
Inline
Side-by-side
res/menu/menu_toolbar.xml
View file @
2d1bb8b3
...
...
@@ -11,7 +11,7 @@
android:title=
"@string/menu_preferences"
app:showAsAction=
"never"
/>
<item
android:id=
"@+id/menu_show_
changelog
"
android:title=
"@string/menu_show_
changelog
"
android:id=
"@+id/menu_show_
release_notes
"
android:title=
"@string/menu_show_
release_notes
"
app:showAsAction=
"never"
/>
</menu>
res/values/strings.xml
View file @
2d1bb8b3
...
...
@@ -74,7 +74,7 @@
<string
name=
"menu_delete_update"
>
Delete
</string>
<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_show_
release_notes"
>
Show release notes
</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>
-q
</string>
<string
name=
"menu_ab_perf_mode"
>
Prioritize update process
</string>
...
...
src/org/lineageos/updater/UpdatesActivity.java
View file @
2d1bb8b3
...
...
@@ -202,7 +202,7 @@ public class UpdatesActivity extends UpdatesListActivity {
showPreferencesDialog
();
return
true
;
}
case
R
.
id
.
menu_show_
changelog
:
{
case
R
.
id
.
menu_show_
release_notes
:
{
Intent
openUrl
=
new
Intent
(
Intent
.
ACTION_VIEW
,
Uri
.
parse
(
Utils
.
getChangelogURL
(
this
)));
startActivity
(
openUrl
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment