- Android 15 is updating the NFC stack to add a new “observe mode.” Observe mode lets devices listen but not respond to NFC readers. On supported devices, apps can request the NfcAdapter to enter observe mode so they then get PollingFrame objects to process. Apps can read PollingFrame objects to auth ahead of the first communication to the NFC reader, which allows for a one tap transaction to be made.
- Android 15 gives apps control over the HDR headroom with the Window#setDesiredHdrHeadroom. This lets apps decide how to strike a balance between SDR and HDR content. This is useful for when a mix of SDR and HDR content is shown on screen, as letting the OS decide can end up adversely influencing the perceived brightness of the SDR content.
- Android 15 supports the CTA-2075 standard which helps users avoid audio loudness inconsistencies and ensure they don’t have to constantly adjust volume when switching content. The system uses known characteristics of output devices and the loudness metadata available in AAC audio content to intelligently adjust audio loudness and dynamic range compression levels. Devs need to ensure loudness metadata is available in their AAC content and also enable the platform feature in their app.
- Android 15 expands the AutomaticZenRules API which lets apps customize Do Not Disturb rules and decide when to toggle them. The new version lets apps add types, an icon, a triggerDescription string, and ZenDeviceEffects that enable rules to trigger on things like grayscale display, night mode, or wallpaper dimming.
- Android 15 adds granular line break controls to TextView so apps can preserve a given portion of text in the same line to improve readability. Devs can take advantage of this by using the <nobreak> tag in string resources or by using LineBreakConfigSpan#createNoBreakSpan(). It’s also possible to preserve words from being hyphenated by using the <nohyphen> or by using LineBreakConfigSpan#createNoHyphenationSpan().
(2/3)
Post #3954
12.3K
Forwarded from Mishaal's Android News Feed
Mishaal's Android News Feed 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…


- 👍 47
- 🤡 9
- 🤩 4
- ⚡ 1