According to XDA Developers, recently unearthed code indicates that Android P will prevent applications from accessing a device’s camera or microphone if they happen to be running in the background. This should prove to be a boon for security conscious users who will no longer have to worry about malicious apps secretly keeping tabs on their behavior.

While Google has undeniably gotten better about bolstering overall Android security, reports of malicious apps wreaking havoc on users seem to pop up every few months. Just a few months back, for example, a piece of Android malware dubbed GhostCtrl was found to be secretly recording audio and video from a range of Android devices.