Skip to main content

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:

  1. In Android 14, we can add custom actions to Android Sharesheet.
  2. In Android 14, we can use user-initiated data transfer job to do long data operation, such as downloading data from Internet.
  3. In Android 14, we can use Grammatical Inflection API to customize strings based on user's grammatical gender preference.
  4. In Android 14, we can detect whether user is taking screenshot of our application.
  5. In Android 14, there are new setting pages:
    1. Advanced Memory Protection to toggle memory tagging feature to mitigate memory safety vulnerabilities.
    2. Regional Preferences to customize temperature unit and first day of week preference.
  6. In Android 14, we can check whether our app can use notification full screen intent and open the setting page.
  7. 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.
  8. 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.
  9. For apps that target Andorid 14 or higher, the system will prevent Zip Path Traversal security vulnerability by default.

Behavior Changes for All Apps​

  1. Starting in Android 14, SCHEDULE_EXACT_ALARM permission is no longer being pre-granted to most newly installed apps targeting Android 13 and higher.
  2. In Android 14, users are allowed to dismiss non-dismissable notifications under certain circumstances.