Merge "Remove NfcFragment from activity when no longer sharing." into ics-mr0
This commit is contained in:
committed by
Android (Google) Code Review
commit
202b38cb71
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user