From f0e99893380662498e1fc119fb84fe884ebe0747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 11 Jul 2024 15:49:55 +0900 Subject: [PATCH] Simplify --- app/src/main/java/com/example/childguard/TestService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/childguard/TestService.java b/app/src/main/java/com/example/childguard/TestService.java index 1d2d53f..a0101b7 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -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); } /**