Merge "nfc(api): Restore behavior from Android T" into udc-dev am: 004bbcdb14
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23755172 Change-Id: I9cb7c8263cff901c221bdea06d866be550234a4d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -711,6 +711,7 @@ public final class NfcAdapter {
|
|||||||
/* Stale sService pointer */
|
/* Stale sService pointer */
|
||||||
if (sIsInitialized) sIsInitialized = false;
|
if (sIsInitialized) sIsInitialized = false;
|
||||||
}
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
/* Try to initialize the service */
|
/* Try to initialize the service */
|
||||||
NfcManager manager = (NfcManager) context.getSystemService(Context.NFC_SERVICE);
|
NfcManager manager = (NfcManager) context.getSystemService(Context.NFC_SERVICE);
|
||||||
|
|||||||
Reference in New Issue
Block a user