Google releases Android M Developer Preview 2 for Nexus devices

Android M Developer Preview 2 is here. Photo: Google.

Android M Developer Preview 2 is here. Photo: Google.

Earlier today, Google announced the release of the second Android M Developer Preview images for the Nexus 5, Nexus 6, Nexus 9, and the Nexus Player.

The newest build of Android M carries the build number MPZ44Q, and comes with fixes for some major bugs, introduces some minor new features, and slightly tweaks features that were introduced introduced in the first preview build.

Some of the changes highlighted by Google are as follows:

Android Platform Changes:

  • Modifications to platform permissions including external storage, Wi-Fi & Bluetooth location, and changes to contacts/identity permissions. Device connections through the USB port are now set to charge-only mode by default. To access the device, users must explicitly grant permission.

API Changes:

  • Updated Bluetooth Stylus APIs with updated callback events. View.onContextClickListener and GestureDetector.OnContextClickListener to listen for stylus button presses and to perform secondary actions.
  • Updated Media API with new callback InputDevice.hasMicrophone() method for determining if a device microphone exists.

Fixes for developer-reported issues:

  • TextInputLayout doesn’t set hint for embedded EditText. (fixed issue)
  • Camera Permission issue with Legacy Apps (fixed issue)

Google has uploaded the updated Android M Developer Preview 2 images on its website, and will also be rolling out an OTA update over the next few days for users who are still using the first developer preview build on their Nexus devices.