SENSITIVE PROFILING ALERT — CATEGORY E (SPECIAL SYSTEM ACCESS & DEVICE CONTROL) • XPAND PRIVACY JOURNAL: Why would a loan app, wallpaper pack, or casual game care about every single app installed on your Android phone? Because the list of apps in your drawer reveals your banks, health conditions, religion, dating life, and political views. That is why Google classifies installed app inventories as personal sensitive data—and locks QUERY_ALL_PACKAGES behind strict Play Store policies and Android 11+ Package Visibility filtering.
For the first decade of Android, any app on your phone could call getInstalledPackages() silently with zero permission prompt and build a complete dossier of every app you ever installed. Even if you turned off Location and Contacts, ad networks and data brokers used your app list as a near-permanent identity fingerprint.
In Android 11 (API level 30), Google ended free-for-all app snooping with Package Visibility Filtering. Now apps targeting modern Android cannot see unrelated apps on your device unless they use narrow <queries> rules or pass an invasive Google Play review for android.permission.QUERY_ALL_PACKAGES.
Protection LevelNormal + Play Restricted
Severity Rating
Critical — Personal Inventory Leak
Android 11+ Alternative<queries> Manifest Scope
1. What Is QUERY_ALL_PACKAGES (and How Does Android 11+ Filtering Stop It)?
When an app targets Android 11 (API 30) or higher, system calls like PackageManager.getInstalledPackages(), getInstalledApplications(), and queryIntentActivities() return a tightly filtered list by default—only the app itself, core OS components, and apps it explicitly interacts with via intents. To unlock visibility into all apps on the phone, an app must declare QUERY_ALL_PACKAGES.
Why Honest Apps Use <queries> Instead: Android does not show a pop-up dialog when an app holds QUERY_ALL_PACKAGES. Instead, Google Play treats your app list as personal and sensitive data: unless the app is a core launcher, antivirus scanner, file manager, web browser, or enterprise manager, it is rejected from Play Store and told to declare narrow <queries> tags strictly for needed share targets or payment apps.

QUERY_ALL_PACKAGES exposes 100% of installed apps silently with zero runtime pop-up, whereas Android 11+ <queries> limits visibility strictly to declared share or payment intents.Graph 1 highlights how dramatically Google shrunk third-party visibility into your app drawer from Android 10 to modern Android 11+ builds:

QUERY_ALL_PACKAGES.2. Why It Is Dangerous: Intimate Profiling, Predatory Loan Apps & Banking Overlays
Why do data brokers, predatory credit apps, and malware gangs prize full app inventories so highly? Because every icon on your home screen tells a detailed life story:

Three High-Severity Abuses Driven by Full Installed App Inventories
- 1. Deep Demographic & Health Inference: Simply reading package names reveals fertility or pregnancy trackers, diabetes monitors, mental-health portals, prayer apps, dating apps, disability tools, and brokerage accounts—creating sensitive ad segments even if GPS and Contacts are completely denied.
- 2. Predatory Loan Apps & Financial Harassment: Google Play had to impose an explicit ban prohibiting personal loan, credit, and Earned Wage Access apps from using
QUERY_ALL_PACKAGES(alongside Contacts and Gallery) after predatory lenders used installed banking/loan app lists to profile borrowers and target harassment. - 3. Malware Victim Reconnaissance: Sideloaded banking trojans scan your installed packages within seconds of launch to detect exact banking, UPI, or crypto wallet package IDs—then fetch matching fake login screens and Accessibility attack scripts.

3. Technical Comparison: Default Filtering vs. <queries> vs. QUERY_ALL_PACKAGES
Compare Android’s three package-visibility levels to see how least-privilege isolation protects your privacy:
| Android Visibility Mode | Scope Exposed | User Prompt? | Google Play & Privacy Verdict |
|---|---|---|---|
| Default Filtered Visibility (API 30+) | Self, core system packages & explicitly invoked intents only. | None needed | Safest Default (Hides private banking, health & personal apps) |
<queries> Manifest Declaration | Only named package IDs, specific intent MIME types, or provider authorities. | None needed | Recommended for sharing, payment gateways & normal integrations |
QUERY_ALL_PACKAGES | 100% inventory of installed user and system apps on the device. | No Pop-Up (Silent) | Play Restricted (Core launcher/AV/browser use only; banned for loans) |
| Legacy API 29 & Below Behavior | Unrestricted response from getInstalledPackages() on older OS builds. | None | Obsolete Risk (Reason staying on Android 11+ matters) |
4. Red Flags vs. Legitimate Uses: Which Apps Need App Inventory Access?
Because Android does not display a runtime Allow/Deny prompt for QUERY_ALL_PACKAGES, check Play Store disclosures and developer categories against this table:
| App Category | Needs QUERY_ALL_PACKAGES? | Verdict | Privacy & Policy Check |
|---|---|---|---|
| Home Launchers, Mobile Antivirus, Backup Tools & Web Browsers | Yes (Core feature draws app icons or scans all APKs) | Verify Trusted Brand | Approved core functionality when disclosed transparently. |
| Shopping, Ride-Hailing & Payment Checkout Apps | No (Must use targeted <queries>) | Use Scoped Queries Only | An app checking whether PayPal or a specific wallet exists needs one <package> line, not all 150 apps. |
| Personal Loan, Credit & Instant Cash Apps | Strictly Banned | Uninstall / Avoid | Google Play explicitly forbids loan apps from collecting installed app inventories. |
| Games, Flashlights, Wallpapers & Sideloaded Mods | Never | Always Red Flag | Strong signal of silent ad profiling or banking trojan target checks. |
| Offline Utilities (AmpereFlow & VEYRO) | No | Zero App Scanning | Hardware charging diagnostics and offline privacy tools inspect zero unrelated apps on your device. |
5. The Safe Way: 5 Steps to Keep Your App List Private
Because QUERY_ALL_PACKAGES has no simple Permission Manager toggle, prevention at install time and OS filtering make all the difference:
- Check Google Play “Data safety” & “App permissions” Before Downloading: Look for App info and performance > Installed apps under Data Safety—never install casual games, cleaners, or coupons that harvest installed app lists.
- Never Install Sideloaded Loan, Credit, or “Modded” APKs: Official Play Store policies ban credit apps from collecting installed app lists, whereas sideloaded loan APKs bypass those audits completely.
- Run Android 11 or Newer: Modern Android enforces default package visibility filtering automatically so random apps targeting API 30+ cannot scrape your app drawer silently.
- Delete Your Google Advertising ID: Visit
Settings > Security & privacy > More privacy settings > Adsand tap Delete advertising ID to prevent cross-app broker stitching. - Choose Self-Contained Offline Utilities: Use clean local tools—just like AmpereFlow and VEYRO on clickpms.com—that work locally with zero
QUERY_ALL_PACKAGESor Data Safety app-list collection.

6. Frequently Asked Questions
Can I see or toggle off QUERY_ALL_PACKAGES inside Android Permission Manager?
No. Because Android classifies QUERY_ALL_PACKAGES as an install-time manifest permission protected by Google Play policy review rather than a runtime pop-up toggle, users do not see a switch in Permission Manager. That makes auditing Play Store Data safety and avoiding suspicious sideloaded APKs essential.
If an app cannot use QUERY_ALL_PACKAGES, how do “Share to WhatsApp” or UPI payments still work?
Developers declare targeted <queries> entries (either exact intent signatures like ACTION_SEND or specific payment app IDs) in AndroidManifest.xml. Android reveals only matching share or payment targets without exposing the rest of your private app list.
Are personal loan apps allowed to scan my installed apps if I grant consent?
No on Google Play. Under Google Play’s Personal Loans policy, personal loan and credit apps are explicitly prohibited from accessing or requesting QUERY_ALL_PACKAGES along with Contacts and media storage—even with a consent prompt.
7. Verified Official Documentation & Privacy References
- Android Developers — Package Visibility Filtering on Android: Official overview of why Android 11+ restricts installed app list visibility by default — developer.android.com/training/package-visibility
- Android Developers — Declaring Package Visibility Needs (
<queries>): Shows scoped package, intent, and content-provider visibility declarations withoutQUERY_ALL_PACKAGES— developer.android.com/training/package-visibility/declaring - Android Developers — Common Package Visibility Use Cases: Documents safe patterns for app links, sharing, and rare full-inventory approvals — developer.android.com/training/package-visibility/use-cases
- Android Developers —
Manifest.permission&PackageManagerReference: Technical specifications forQUERY_ALL_PACKAGESandgetInstalledPackages()— Manifest.permission | PackageManager
Xpand Privacy Journal — Recommended Reading & Related Guides
← Previous Guide: REQUEST_IGNORE_BATTERY_OPTIMIZATIONS — How “Unrestricted Battery” Bypasses Doze & Keeps Trackers Alive
→ Next Guide: BLUETOOTH_SCAN & BLUETOOTH_CONNECT — Nearby Devices & Indoor BLE Beacon Tracking
Related System Access & Profiling Guides: PACKAGE_USAGE_STATS · BIND_ACCESSIBILITY_SERVICE · SYSTEM_ALERT_WINDOW
Explore Xpand Apps: Xpand Privacy Journal · Android Security Archive · VEYRO Offline Monitor
