Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 202b38cb authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Remove NfcFragment from activity when no longer sharing." into ics-mr0

parents 615858a8 2ec83936
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ public final class NfcActivityManager extends INdefPushCallback.Stub {
    synchronized void maybeRemoveState(Activity activity, NfcActivityState state) {
        if (state.ndefMessage == null && state.ndefMessageCallback == null &&
                state.onNdefPushCompleteCallback == null) {
            NfcFragment.remove(activity);
            mNfcState.remove(activity);
        }
    }