Fix 1 #16

Merged
r-ca merged 4 commits from fix-1 into main 2024-01-17 11:07:45 +00:00
Showing only changes of commit 23be550762 - Show all commits

View File

@ -160,6 +160,7 @@ public class MainActivity extends AppCompatActivity {
@Override @Override
protected void onResume() { protected void onResume() {
super.onResume();
Log.d("onResume", "called"); Log.d("onResume", "called");
Log.d("onResume", "mDocRef is null"); Log.d("onResume", "mDocRef is null");
SharedPreferences sharedPreferences = getSharedPreferences("app_situation", MODE_PRIVATE); SharedPreferences sharedPreferences = getSharedPreferences("app_situation", MODE_PRIVATE);
@ -171,7 +172,6 @@ public class MainActivity extends AppCompatActivity {
this.flg = false; this.flg = false;
initNotification(mDocRef); initNotification(mDocRef);
} }
super.onResume();
} }
private void initNotification(DocumentReference mDocRef) { private void initNotification(DocumentReference mDocRef) {