I did not know that an App can modify system behavior like this.
I have phone always on silent. I installed "Xiaomi Wear". During installation in Play Store, the phone made a short vibration. I thought that was weird, since the phone is on silent, and it never vibrates.
Anyway, after installation, the phone is now changed to vibrate every time I unlock it. A short vibration, but with full force (unlike when unlock with fingerprint).
Apparently, the phone scans NFC every time I unlock it - and since I have a bank card on the back, I guess it vibrates to signify it found something.
But I don't understand why an app can cause something like this, and how I can prevent it?
AndroidManifest.xml, Xiaomi Wear has the NFC permission. This means that this app is now a candidate to process the NFC tags (handled bycom.xiaomi.wearable.nfc.NfcScanActivity) and that's why the device now vibrates (done by the Android system, not the app) every time an NFC tag is scanned. Just to clarify since the question has been changed, did you want to prevent the NFC scanning or the vibration? – Andrew T. Nov 29 '21 at 11:39