My app uses NMEA messages (to extract better elevation and stats; the app can get precise location)
But on MIUI 12.0.1 at addNmeaListener call I get
2021-05-01 09:13:20.055 2066-3595/? I/LocationManagerInjector: ... addGpsStatusListener(android.location.IGnssStatusListener$Stub$Proxy@ecc6b6b) is blocked by policy
Which policy is it? and why I get no exception (for example SecurityException) to report to the user?
Java:
internalGps?.addNmeaListener(OnNmeaMessageListener { timestamp, nmea ->
parseNmeaGpggaMessage(nmea, timestamp)
})
But on MIUI 12.0.1 at addNmeaListener call I get
2021-05-01 09:13:20.055 2066-3595/? I/LocationManagerInjector: ... addGpsStatusListener(android.location.IGnssStatusListener$Stub$Proxy@ecc6b6b) is blocked by policy
Which policy is it? and why I get no exception (for example SecurityException) to report to the user?