The new feature is seen as an evolution of the security systems implemented in Android Oreo, which made it clear to users whenever an app asked to use the device’s microphone or camera.
” When the identity of an application is idle, the microphone will report empty audio and sensors will not report events. Cameras used by the application will be disconnected and will generate an error of the app trying to use them, ” explained the company in an official blog post for Android developers.
The restriction is expected to bring some exceptions – a recorder app, for example, should be able to continue recording even if it is not in the foreground – but most apps should be affected by the change.
The first preview of Android P started coming to developers on Wednesday (07) and includes changes such as native support for “slots” in the display, such as the iPhone X, and new interfaces to the system.