Android 14
Android 14 (codenamed Upside Down Cake) was released for public on October 4, 2023.
As a developer, there are some changes in Android 14 that we should be aware of:
- In Android 14, we can add custom actions to Android Sharesheet.
- In Android 14, we can use user-initiated data transfer job to do long data operation, such as downloading data from Internet.
- In Android 14, we can use Grammatical Inflection API to customize strings based on user's grammatical gender preference.
- In Android 14, we can detect whether user is taking screenshot of our application.
- In Android 14, there are new setting pages:
- Advanced Memory Protection to toggle memory tagging feature to mitigate memory safety vulnerabilities.
- Regional Preferences to customize temperature unit and first day of week preference.
- In Android 14, we can check whether our app can use notification full screen intent and open the setting page.
- For apps that target Android 14 or higher and use Dynamic Code Loading (DCL), you need to mark your dynamically-loaded files as read-only.
- For apps that target Android 14 or higher and use context-registered broadcast receivers for non-system broadcasts, you need to specify whether the receiver is expored or not.
- For apps that target Andorid 14 or higher, the system will prevent Zip Path Traversal security vulnerability by default.
Behavior Changes for All Apps​
- Starting in Android 14,
SCHEDULE_EXACT_ALARM
permission is no longer being pre-granted to most newly installed apps targeting Android 13 and higher. - In Android 14, users are allowed to dismiss non-dismissable notifications under certain circumstances.