TestServiceの全体的なリファクタリング #28

Merged
asura146 merged 73 commits from improve/refactor_service into main 2024-07-12 02:17:26 +00:00
Showing only changes of commit 36cbb5975a - Show all commits

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;