Rename app to "Nils' MG4"
Changes the launcher label, header brand caption, About title, logo description and OTA download labels. Package ID, APK file names, log tags and the repository link are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">FatihsMG4</string>
|
<string name="app_name">Nils\' MG4</string>
|
||||||
|
|
||||||
<!-- Main screen -->
|
<!-- Main screen -->
|
||||||
<string name="tab_abrp">ABRP</string>
|
<string name="tab_abrp">ABRP</string>
|
||||||
@@ -126,12 +126,12 @@
|
|||||||
<string name="update_downloading">Downloading and verifying…</string>
|
<string name="update_downloading">Downloading and verifying…</string>
|
||||||
<string name="update_downloading_percent">Downloading… %1$d%%</string>
|
<string name="update_downloading_percent">Downloading… %1$d%%</string>
|
||||||
<string name="about_action">About</string>
|
<string name="about_action">About</string>
|
||||||
<string name="about_title">About Fatih\'sMG4</string>
|
<string name="about_title">About Nils\' MG4</string>
|
||||||
<string name="about_version">Version %1$s</string>
|
<string name="about_version">Version %1$s</string>
|
||||||
<string name="about_attribution">Fork of malys / EVABRPUploader\nand Leon Kernan / ABRP_Uploader</string>
|
<string name="about_attribution">Fork of malys / EVABRPUploader\nand Leon Kernan / ABRP_Uploader</string>
|
||||||
<string name="about_repository">github.com/fatihdonmezdev/FatihsMG4</string>
|
<string name="about_repository">github.com/fatihdonmezdev/FatihsMG4</string>
|
||||||
<string name="about_made_with_love">MG4 EH32 · SWI69</string>
|
<string name="about_made_with_love">MG4 EH32 · SWI69</string>
|
||||||
<string name="about_logo_description">FatihsMG4 logo</string>
|
<string name="about_logo_description">Nils\' MG4 logo</string>
|
||||||
<string name="about_qr_description">QR code for the project repository</string>
|
<string name="about_qr_description">QR code for the project repository</string>
|
||||||
<string name="about_version_unknown">unknown</string>
|
<string name="about_version_unknown">unknown</string>
|
||||||
<string name="about_close">Close</string>
|
<string name="about_close">Close</string>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<string name="design_battery_short">Battery</string>
|
<string name="design_battery_short">Battery</string>
|
||||||
<string name="design_probe">VHAL Probe</string>
|
<string name="design_probe">VHAL Probe</string>
|
||||||
<string name="design_brand">MG⁴</string>
|
<string name="design_brand">MG⁴</string>
|
||||||
<string name="design_brand_caption">Fatih’s MG4</string>
|
<string name="design_brand_caption">Nils’ MG4</string>
|
||||||
<string name="design_brand_footer">ON THE ROAD, ELECTRIC</string>
|
<string name="design_brand_footer">ON THE ROAD, ELECTRIC</string>
|
||||||
<string name="design_overview_title">Your drive at a glance.</string>
|
<string name="design_overview_title">Your drive at a glance.</string>
|
||||||
<string name="design_overview_subtitle">Data from your car, all in one place.</string>
|
<string name="design_overview_subtitle">Data from your car, all in one place.</string>
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ final class OtaUpdater {
|
|||||||
long downloadId = -1L;
|
long downloadId = -1L;
|
||||||
try {
|
try {
|
||||||
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(update.apkUrl))
|
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(update.apkUrl))
|
||||||
.setTitle("FatihsMG4 " + update.versionName)
|
.setTitle("Nils' MG4 " + update.versionName)
|
||||||
.setDescription("Downloading update")
|
.setDescription("Downloading update")
|
||||||
.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED)
|
.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED)
|
||||||
.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, publicName)
|
.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, publicName)
|
||||||
@@ -569,7 +569,7 @@ final class OtaUpdater {
|
|||||||
Intent install = new Intent(Intent.ACTION_VIEW)
|
Intent install = new Intent(Intent.ACTION_VIEW)
|
||||||
.setDataAndType(contentUri, "application/vnd.android.package-archive")
|
.setDataAndType(contentUri, "application/vnd.android.package-archive")
|
||||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
||||||
install.setClipData(ClipData.newRawUri("FatihsMG4 update", contentUri));
|
install.setClipData(ClipData.newRawUri("Nils' MG4 update", contentUri));
|
||||||
grantToInstallers(context, contentUri);
|
grantToInstallers(context, contentUri);
|
||||||
if (install.resolveActivity(context.getPackageManager()) == null) {
|
if (install.resolveActivity(context.getPackageManager()) == null) {
|
||||||
throw new IllegalStateException("No package installer activity");
|
throw new IllegalStateException("No package installer activity");
|
||||||
|
|||||||
Reference in New Issue
Block a user