This commit is contained in:
ろむねこ 2024-07-11 15:49:55 +09:00
parent 523f101909
commit f0e9989338
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -200,7 +200,7 @@ public class TestService extends Service {
private PendingIntent getPendingIntent(Context context) {
Intent intent = new Intent(context, MainActivity.class);
intent.setAction("OPEN_ACTIVITY");
return PendingIntent.getActivity(context, TestService.REQUEST_CODE, intent, 0 | PendingIntent.FLAG_IMMUTABLE);
return PendingIntent.getActivity(context, TestService.REQUEST_CODE, intent, PendingIntent.FLAG_IMMUTABLE);
}
/**