Android P is the ninth major version of the Android operating system. It introduces great new features and capabilities for both developers and users. By reading this document, you will get to know what is new.

Android P Features

Display Cutout Support

Android P provides support for the latest edge-to-edge screens with display cutout for camera as well as speaker. This feature helps you in finding out the location and shape of the non-functional areas where content should not be displayed. In order to stimulate a screen cutout on any device running Android P, you have to consider listed below things:

• Allow developer options
• In such screen, scroll down to the drawing section and select simulate a display with a cutout
• Lastly, select the size of the cutout

Improved Message Experience

Android P improves this feature with the listed below enhancements:

Support for Conversation Participants: Under this, the new person class is used to identify people involved in a conversation, which includes their URIs and avatars.

Support for Images: Android P now displays images in messaging notifications on phones. When it comes to displaying an image, you can use setData on the message.

Identify Group Conversation: You have the chance of using setGroupConversation ( ) to find out whether it is a group or non-group conversation.

SmartReply: Android P gives support to those same suggested replies which are available in your messaging app. By using RemoteInput.setChoices ( ), you can provide several standard responses to the user.

Camera Updates and Multi-Camera Support

You have an option to access streams simultaneously from several physical cameras on devices with Android P. if your device has dual-front or dual-back cameras; you have an option of creating amazing features like stereo vision, zoom, and bokeh.

Animation

Android P has come up with AnimatedImageDrawable class for drawing as well as displaying GIF and WebP animated images. With this implementation, your app can have an animated image without managing its updates or interfering with app’s UI thread. It can be decoded with the new ImageDecoder.

Security Enhancements

Android P introduces several security features, which includes unified fingerprint authentication dialog and high-assurance user confirmation.

Android Backups Encryption

Android P paves the way for encryption of Android backups with a client-side secret. Due to this privacy measure, PIN, password and pattern is needed in order to restore data from the backups made by the user device.

Window Change Details

This version enables to track updates to an app’s windows when an app redraws multiple windows simultaneously. When a TYPE_WINDOWS_CHANGED event occurs, use the getWindowChanges ( ) API in order to find out how the windows have changed. At the time of multi window update, each window now creates its own set of events.

Rotation

If you want to get rid of unintentional rotations, new mode is added that pins the current orientation even if the device position changes. Users can even choose to rotate manually and this can be done by pressing a new button in the system bar.

System Tracing

With this feature, you can capture timing data for each process that is running on an Android device. It also enables to view the data in an HTML report. This report is of utmost importance to know what each thread is doing and to view globally significant device states.

Text

Android P is available with new text-related features to the platform:

Magnifier: It is a platform widget that provides a magnifier API that enables consistent magnifier-feature experience across all applications.

Text Layout: A wide range of new convenience methods as well as characteristics makes it easy to implement your UI design.

Precomputed Text: This class improves text-rendering performance by allowing you to compute and cache the crucial information ahead of time.

In conclusion, there are several other small changes which you will see. So, stay tuned for more updates.