シンプル化

This commit is contained in:
ろむねこ 2024-07-11 15:57:30 +09:00
parent d2e633b387
commit 36cbb5975a
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -72,8 +72,7 @@ public class TestService extends Service {
Log.d("onResume", "ID not initialized.");
return flags; // IDが初期化されていない場合は何もしない
} else {
mDocRef = FirebaseFirestore.getInstance().document("status/" + this.userId);//現在の位置を取得
setSnapshotListener(mDocRef);//現在の位置を引数に initNotification()を処理
setSnapshotListener(FirebaseFirestore.getInstance().document("status/" + this.userId));
}
if (isNotBluetoothGranted()) return flags;