Following the chain of developer preview releases, Google has released the second developer preview of Android 11 for developers. This new preview build includes different new developer API for features and app customizations.
As an early beta build, this version could be full of bugs and will be improved as it’s being developed ahead of the public beta.
Here are the features API and changes mentioned in the Android 11 Developer Preview below.
- Smooth Scrolling Animations: The new synchronized IME transitions allows to synchronize app’s content with IME (input method editor, aka soft keyboard) and system bars as they animate on and offscreen, making it much easier to create natural, intuitive and jank-free IME transitions.
- Customizable app refresh rate: Apps and games can now set a preferred frame rate for their windows such as 60, 90 and 120Hz.
- Resume on reboot: With resume on reboot, apps can resume normal function and receive messages right away – important since OTA updates can be scheduled overnight while the device might be unattended.
- Foldable phone support: Android 11 now supports a hinge angle sensor that lets apps query directly or through a new AndroidX API for the precise hinge angle.
- Call Screening: To manage robocalls, Android 11 brings new APIs to let call-screening apps do more to help users. In addition to verifying an incoming call’s STIR/SHAKEN status (standards that protect against caller ID spoofing) as part of its call details, call-screening apps can report a call rejection reason. Apps can also customize the post-call screen to let users report a call as spam or adding to contacts.
- 5G API: Allows to quickly check whether the user is currently on a 5G New Radio or Non-Standalone network. Developers can use this to highlight the app’s 5G experience or branding when the user is connected.
- App compatibility: In Android 11 we’ve added new processes, tools, and release milestones to minimize the impact of platform updates and make them easier for developers.
- Privacy: Developers now have to use new foregroundServiceType API to use Camera or Mic data in their app.
- Scoped Storage: Adds support to migrate files from the legacy model to the new scoped storage model, and better management of cached files.
Android 11 Timeline, milestones, and updates:
The Android 11 Developer Preview program runs from February 2020 until the final public release to Android Open Source Project (AOSP) and OEMs, planned for Q3 2020.