diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 7dc120a0f..28957aa0d 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -44,6 +44,9 @@
+
+
+
BOOT_ACTIONS = Set.of(
+ "android.intent.action.BOOT_COMPLETED",
+ "android.intent.action.QUICKBOOT_POWERON"
+ );
+
@Override
public void onReceive(Context context, Intent intent) {
Log.d("Receiver", "onReceive: " + intent);
- if (intent.getAction() == "android.intent.action.BOOT_COMPLETED") {
+ if (BOOT_ACTIONS.contains(intent.getAction())) {
if (Settings.Preferences.getBoolean(context,
Settings.Preferences.KEY_RUN_ON_BOOT,
false)) {