Fix Android updater compile issues

This commit is contained in:
Dwindi Ramadhana
2026-02-21 22:33:38 +07:00
parent efc013f498
commit c467b47559

View File

@@ -62,7 +62,7 @@ public class MainActivity extends BridgeActivity {
}
@Override
protected void onDestroy() {
public void onDestroy() {
super.onDestroy();
if (downloadReceiver != null) {
unregisterReceiver(downloadReceiver);
@@ -289,7 +289,7 @@ public class MainActivity extends BridgeActivity {
if ("file".equals(downloadUri.getScheme())) {
installUri = FileProvider.getUriForFile(
this,
BuildConfig.APPLICATION_ID + ".fileprovider",
getPackageName() + ".fileprovider",
new java.io.File(downloadUri.getPath())
);
}