NFCAdpater.enableReaderMode(…) doesn't work consistently if booting in Kiosk mode activity
问题 I have an application which starts in Kiosk mode and should read and react on NFCTags. It's using enableReaderMode on the NFCAdapter in onResume to start reading them. Everything works fine if the app is e.g. (re-)started during development. However, if I reboot the device (and the activity gets started automatically) the activity is only sometimes put into the right mode, but often only plays the NFC system sound and my handleTag is not called. From what I logged, the NFCAdapter setup code I