Google has released its first developer preview of Android P, next major version of Android. Highlights include enhancements to the notification panel, indoor positioning, support for iPhone X-style notches, and a million under-the-hood improvements.
Additionally, if you want to try Android P yourself, you won’t yet have the convenience of using the Android Beta program, which lets you sign up for an over-the-air update that is delivered to your device. While that will come with later releases deemed stable enough for the “beta” tag, for now Google says this is “an early baseline build for developers only.” You’ll need to fire up some SDK tools and flash the Android P images manually.
Indoor positioning with Wi-Fi RTT:
Android P adds platform support for the IEEE 802.11mc WiFi protocol — also known as WiFi Round-Trip-Time (RTT) — to let you take advantage of indoor positioning in your apps.
On Android P devices with hardware support, location permission, and location enabled, your apps can use RTT APIs to measure the distance to nearby WiFi Access Points (APs). The device doesn’t need to connect to the APs to use RTT, and to maintain privacy, only the phone is able to determine the distance, not the APs
Display cutout support:
Cutout support works seamlessly for apps, with the system managing status bar height to separate your content from the cutout. If you have critical, immersive content, you can also use new APIs to check the cutout shape and request full-screen layout around it.
Improved messaging notifications:
new MessagingStyle notification style — it highlights who is messaging and how you can reply. You can show conversations, attach photos and stickers, and even suggest smart replies.
The Preview update also brings other many features like Multi-camera API, ImageDecoder for bitmaps and drawables, HDR VP9 Video, HEIF image compression, and Media APIs, Data cost sensitivity in JobScheduler, Neural Networks API 1.1, Autofill improvements, Open Mobile API for NFC payments and secure transactions, Strengthening Android’s foundations, Security for apps, Privacy for users, ART performance, Optimized Kotlin, Power efficiency, Improving app compatibility through public APIs.