Android 15 Developer Preview 2 is OFFICIAL! Google has just announced the release on the Android Developers blog. Here’s what Google says is new in Android 15 DP2:
- Android 15 DP2 adds some UI elements to ensure a “consistent user experience” for devices that support satellite connectivity. The update also expands platform support for satellite connectivity by adding a new ServiceState.isUsingNonTerrestrialNetwork() API that apps can use to detect when a device is connected to a satellite. Android 15 also lets SMS/MMS/RCS apps use satellite connectivity for sending and receiving messages.
- Android 15 is adding a property (WindowManager#COMPAT_SMALL_COVER_SCREEN_OPT_IN) that developers can use to show their Application or Activity on the small cover screen of a clamshell foldable phone (AKA a “flippable” device). Since these screens are too small for most apps, you need to opt in to support them. Plus, this only works on flippable devices that add support for this feature.
- Android 15 lets apps detect when they’re being recorded! Apps can use WindowManager’s addScreenRecordingCallback(...) API to receive a callback when they transition between being visible or invisible in a screen recording. This lets apps that are performing sensitive operations inform the user that they’re being recorded. Notably, this expands on the screenshot detection API introduced in Android 14.
- The PdfRenderer API is getting a lot of improvements in Android 15! The API now lets apps add advanced features like rendering password-protected files, annotations, form editing, searching, and selection with copy. Linearized PDF optimizations are supported to speed up local viewing and reduce resource use. Google is moving PdfRenderer to a Mainline module that can be updated via Play System Updates. On Android 11+, the PdfRendererPreV API provides a backported version of these changes.
(1/3)
Post #3928
3.2K


