Fix 1 #16
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user