Migrate from Android 9 (API level 28) to Android 10 (API level 29)
In plain words
When moving your target API level from Android 9 to Android 10 (API 29), apps must handle changes to full-screen intents, foldable and large-screen behavior, and several privacy restrictions.
- Notifications with a full-screen intent need the normal permission USE_FULL_SCREEN_INTENT (not a runtime permission).
- Multiple activities can be "resumed" at once but only one has focus, affecting onResume()/onPause(); detect the "topmost resumed" activity with onTopResumedActivityChanged().
- When resizeableActivity is false, apps can specify a minAspectRatio, which automatically letterboxes the app on narrower aspect ratios.
- Scoped storage limits external storage access to an app-specific directory and the media types the app created.
- Background location requires ACCESS_BACKGROUND_LOCATION; physical activity data such as step count requires ACTIVITY_RECOGNITION; some telephony, Bluetooth and Wi-Fi APIs require ACCESS_FINE_LOCATION.
- Access to non-resettable identifiers such as IMEI and serial number is restricted. Apps can no longer enable or disable Wi-Fi directly and must use settings panels; connecting requires WifiNetworkSpecifier or WifiNetworkSuggestion.
From the official text
- Notifications with a full-screen intent - Need to request the normal permission USEFULLSCREENINTENT (not runtime permission). - Support for foldables and large screen devices - Multiple activities can now be in the "resumed" state at the same time, but only one actually has focus. - This change affects onResume()) …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Developers' cases about this clause
No cases yet.