
Google has finally launched the third, so-expected, Android 11 Developer Preview variant. The newest experimental version of Android 11 brings some much-needed tools and features. It also follows the launch of the second Android 11 DP, released last month. Android 11 Developer Preview 3 is the final variant before the next major update reaches the beta testing phase and brings.
New Features in Android 11 Developer Preview 3
GWP-ASan Heap Analysis
GWP-ASan is now activated by default in the platform system and binaries apps. Developers can also enable it for their apps. Google recommends doing such a thing, but only if an app utilizes the native code of libraries.
The GWP-ASan is a sampling allocation feature that tracks heap memory flaws with minimal impact or overhead on performance.
Wireless Debugging
Wireless ADB is now running smoother than ever in Android 11 Developer Preview 3 thanks to the latest “wireless debugging” feature in Developer Options. The setting was first introduced in Android 11 Developer Preview 2, but Google never announced the same. Developers can now pair their smartphones to a PC via a pairing code workflow. However, Google stated that they want to introduce QR codes scanning in the future Android Studio launch.
App Exit Reasons Updates
In Android 11, apps can reclaim a record of the reasons why some apps crash or quit. Developers can use the latest getHistoricalProcessExitReasons procedure in the ActivityManager section. The newest ApplicationExitInfo feature offers enough details that apps can get for their historical quit reason. Such a thing also includes factors like a native code crash, the system running poorly, excessive resource usage, a runtime permission change, and many more. Android 11 Developer Preview 3 updated all those APIs based on developer feedback.
ADB Incremental
In Android 11 Developer Preview 3, developers can choose to install an incremental APK utilizing the “ADB install -incremental” function in the latest ADB binary. But, APKs must be signed with the newest APK Signature Scheme v4 format. Google detailed that all Android 11 release devices will support the ADB incremental and te File System.