4 ms·
Android P is locking various things down, such as network monitoring and mic/camera recording for background apps. https://developer.android.com/preview/behavi
by Andrex 8y ago
Android P is locking various things down, such as network monitoring and mic/camera recording for background apps.
https://developer.android.com/preview/behavior-changes#input-data-privacy https://developer.android.com/preview/behavior-changes#input...
"Android P strengthens privacy by limiting the ability of background apps to access user input and sensor data. If your app is running in the background on a device running Android P, the system applies the following restrictions to your app:
- Your app cannot access the microphone or camera.
- Sensors that use the continuous reporting mode, such as accelerometers and gyroscopes, don't receive events.
- Sensors that use the on-change or one-shot reporting modes don't receive events.
If your app needs to detect sensor events on devices running Android P, use a foreground service."