Google is making it harder for Android apps to spy on each other

Android apps
(Image credit: Lukmanazis/Shutterstock)

Google is making a change to Android that will prevent apps from snooping on one another.

Taking effect May 5 and applying primarily to Android 11, the rule update bans most apps from using the new QUERY_ALL_PACKAGES permission, which reveals details about the other apps installed on a device. 

It's meant to stop apps from getting sensitive information or creating device profiles that can be used for advertising or even spying purposes.

The exceptions will be apps that need to see what's going on as part of their core functions, including antivirus apps, browsers, file managers and search apps. Digital-wallet and banking apps may be able to ask for temporary exceptions. 

These apps will have to declare that they are using this permission in their Google Play listings.

Google explained in a new notice to app developers that it "regards the device inventory of installed apps queried from a user's device as personal and sensitive information." 

Apps that request to use the QUERY_ALL_PACKAGES permission "must be able to sufficiently justify why a less intrusive method of app visibility will not sufficiently enable your app's policy-compliant user-facing core functionality."

Abusing a privilege

The QUERY_ALL_PACKAGES permission, introduced with Android 11, replaces and supersedes an older set of functions that apps have used to see details about the other apps installed on an Android device, Catalin Cimpanu at The Record explained. 

These functions were originally created to resolve compatibility issues, but they ended up being abused. Because they were functions and not permissions, the apps did not need to ask or even inform the user before doing so. 

A year-old research paper found that roughly 30% of commercial Android apps — including nearly 73% of games — used these functions to get information about the other apps installed on a device. 

Less than 3% of open-source Android apps did so. Many of the app queries were generated by third-party ad and utility code used by app developers, often without the knowledge of the developers themselves.

Although this change in theory affects only Android 11, estimated to be on only about 6% of Android devices in active use right now, XDA-Developers explained that it will become more or less mandatory in November when Google will require that all app development "target" Android 11 or later rather than earlier versions. 

Paul Wagenseil

Paul Wagenseil is a senior editor at Tom's Guide focused on security and privacy. He has also been a dishwasher, fry cook, long-haul driver, code monkey and video editor. He's been rooting around in the information-security space for more than 15 years at FoxNews.com, SecurityNewsDaily, TechNewsDaily and Tom's Guide, has presented talks at the ShmooCon, DerbyCon and BSides Las Vegas hacker conferences, shown up in random TV news spots and even moderated a panel discussion at the CEDIA home-technology conference. You can follow his rants on Twitter at @snd_wagenseil.

Read more
An image of a Google Android robot
Google blocked over 2.5 million suspicious Android apps from the Play Store last year
Green skull on smartphone screen.
Malicious Android apps with 60 million installs bombarding phones with ads and phishing attacks — how to stay safe
Google Play logo on an android smartphone with corner hole punch camera
At least 5 North Korean spy apps have been found on Google Play — what you need to know
Facebook, Instagram, YouTube, Pinterest, X, LinkedIn, Reddit, TikTok, Threads apps on an iPhone
Why you need to review your app permissions now
Google Pixel 9 held in the hand.
Google just fixed a zero-day kernel flaw used by hackers and 47 other vulnerabilities — update your Android phone right now
Best Android antivirus
The best Android antivirus apps in 2025
Latest in Mobile Apps
Google wallet app on screen
Google Wallet now lets kids to make supervised contactless payments and use digital passes — what you need to know
How to tour the Super Bowl stadium virtually with Google Maps
Google Maps glitch is purging Timeline data — what we know
Gboard app logo on mobile phone resting on a keyboard
Google Gboard redesign has already angered users — and I can see why
Waze app on iPhone in car
Forget Google Maps — Waze just got a huge upgrade that will help millions of drivers
A photo of the Apple Maps app tile displayed on an iPhone screen
Apple Maps may soon get ads, letting businesses pay to boost visibility
How to delete TikTok
TikTok confirms return to Apple and Google app stores — here’s what we know
Latest in News
Apple Watch Ultra 2
Apple Watch Ultra 3 just tipped for two major upgrades
NYTimes Connections
NYT Connections today hints and answers — Tuesday, March 25 (#653)
Titus Welliver in Bosch Legacy season 3
‘Bosch’ season 3 preview: 5 things to know before the final season on Prime Video
A first look at Amazon's Fallout TV series coming to Prime Video
‘Fallout’ season 3 plans are reportedly being made — while season 2 is still filming
Surface Laptop 7 from the front
Amazon just gave Surface Laptop 7 a 'frequently returned' label — here's what's going on
New emojis with iOS 18.4 beta release.
iOS 18.4 beta brings 8 new emoji to your iPhone — here's all the new options