Adapting Your Apps for Android 11 Privacy Changes
summary
Android 11 tightens runtime controls: it adds one-time permissions for camera, mic and location, auto-revokes granted permissions after long inactivity, and rate-limits the “allow all the time” background‑location flow. It enforces separate foreground/background location requests (mixed-array calls get ignored) and requires foreground‑service types for camera/mic/location. New data auditing API (register via AppOpsManager in Application.onCreate) captures stack traces and supports attribution tags per feature for synchronous and async accesses. Package visibility now needs manifest <queries> or QUERY_ALL_PACKAGES and scoped storage adds media bulk edit intents and SAF folder restrictions.
AI-written summary · about
chapters (11)
- 0:00Introduction to Android 11 privacy
- 2:26One-time permissions overview
- 8:13Foreground vs background location
- 13:17Auto-reset permissions
- 15:04Data auditing API
- 21:29Foreground service types
- 23:34Package visibility changes
- 28:15Intent handling improvements
- 31:29Scoped storage updates
- 37:10Privacy best practices
- 37:54Q&A session
