diff --git a/hyperroid/app/src/main/AndroidManifest.xml b/hyperroid/app/src/main/AndroidManifest.xml index 5c35c69b..eeee39cd 100644 --- a/hyperroid/app/src/main/AndroidManifest.xml +++ b/hyperroid/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ @@ -13,7 +13,7 @@ android:windowSoftInputMode="adjustResize" android:configChanges="orientation|keyboardHidden|screenSize" android:name=".HyperRogue" - android:launchMode="singleTask" android:exported="false"> + android:launchMode="singleTask" android:exported="true"> diff --git a/hyperroid/app/src/main/java/com/roguetemple/hyperroid/ForegroundService.java b/hyperroid/app/src/main/java/com/roguetemple/hyperroid/ForegroundService.java index 4bd3beee..148c7322 100644 --- a/hyperroid/app/src/main/java/com/roguetemple/hyperroid/ForegroundService.java +++ b/hyperroid/app/src/main/java/com/roguetemple/hyperroid/ForegroundService.java @@ -50,7 +50,8 @@ public class ForegroundService extends Service { | Intent.FLAG_ACTIVITY_CLEAR_TASK); PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, - notificationIntent, 0); + notificationIntent, PendingIntent.FLAG_IMMUTABLE + ); Notification notification = new NotificationCompat.Builder(this, getChannelId()) .setContentTitle("HyperRogue")