From d08eab2b15bef6d88aaa958b94a9449384199d9d 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 16:01:33 +0900 Subject: [PATCH] =?UTF-8?q?JavaDoc=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/example/childguard/TestService.java | 5 ++++- 1 file changed, 4 insertions(+), 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 abce10e..732baba 100644 --- a/app/src/main/java/com/example/childguard/TestService.java +++ b/app/src/main/java/com/example/childguard/TestService.java @@ -188,7 +188,10 @@ public class TestService extends Service { }); } - public void resetReported() {//FireBaseのisReportedをfalseに初期化するメソッド + /** + * 通報フラグをリセットする + */ + public void resetReported() { db = FirebaseFirestore.getInstance();//Firebaseとの紐づけ DocumentReference isReported = db.collection("status").document(this.userId); //isReportedをfalseに更新