mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-07 22:09:43 +00:00
Android version fixed for API 31
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user