We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afeda6b commit c3bc65dCopy full SHA for c3bc65d
app/src/main/java/com/example/deco3801project/MainActivity2.java
@@ -349,8 +349,8 @@ private void resetWaterIntake() {
349
350
@Override
351
protected void onNewIntent(Intent intent) {
352
+ super.onNewIntent(intent);
353
if (NfcAdapter.ACTION_NDEF_DISCOVERED.equals(intent.getAction())) {
- super.onNewIntent(intent);
354
if (pref.getBoolean("Bluetooth", false)) {
355
Parcelable tagMessages = intent.getParcelableArrayExtra(
356
NfcAdapter.EXTRA_NDEF_MESSAGES)[0];
0 commit comments