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:
@@ -363,7 +363,7 @@ final class OtaUpdater {
|
||||
long downloadId = -1L;
|
||||
try {
|
||||
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(update.apkUrl))
|
||||
.setTitle("FatihsMG4 " + update.versionName)
|
||||
.setTitle("Nils' MG4 " + update.versionName)
|
||||
.setDescription("Downloading update")
|
||||
.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED)
|
||||
.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, publicName)
|
||||
@@ -569,7 +569,7 @@ final class OtaUpdater {
|
||||
Intent install = new Intent(Intent.ACTION_VIEW)
|
||||
.setDataAndType(contentUri, "application/vnd.android.package-archive")
|
||||
.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);
|
||||
if (install.resolveActivity(context.getPackageManager()) == null) {
|
||||
throw new IllegalStateException("No package installer activity");
|
||||
|
||||
Reference in New Issue
Block a user