am 202b38cb: Merge "Remove NfcFragment from activity when no longer sharing." into ics-mr0
* commit '202b38cb71d123e4ebc8741643e84fa455ecd002': Remove NfcFragment from activity when no longer sharing.
This commit is contained in:
@@ -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