Android M Developer Preview 2 Released for Nexus Devices

Android M Developer Preview 2 Released for Nexus Devices
Advertisement
Google on Thursday released the Android M Developer Preview 2 for Nexus devices which brings fixes and updates to Developer Preview 1 based on user feedback.

The latest Developer Preview 2 comes with build number MPZ79M for Nexus 5, Nexus 6, and Nexus 9 devices while it comes with build number MPZ79N for the Nexus Player. All compatible Nexus devices running Developer Preview 1 should start getting notifications about the OTA (over-the-air) update in the coming days, though the system or factory images are already available - users are recommended to backup their data before flashing the image.

Google has listed features and updates that Developer Preview 2 brings including the up to date M release platform code; near-final APIs to validate apps and to provide more testing support, Nexus system images and emulator system images with the Android platform updates have been refined. Apart from the platform update, the system images also include Google Play services 7.6.

(Also see: Why I Am Not Excited About Google's Android M Update)

For developers, Google notes, "For those developers using the emulator, you can update your M preview system images via the SDK Manager in Android Studio."

Some of the other Android platform changes include modifications to platform permissions including external storage, Wi-Fi and Bluetooth location, and changes to contacts/identity permissions. There are some API changes including updated Bluetooth Stylus APIs and updated Media API. Google has also fixed a couple of developer-reported issues such as a TextInputLayout hint issue for embedded EditText, and a camera permission issue with Legacy Apps.

(Also see: Android M: Top New Features in the Next Major Android Release)

Some of the key changes listed by Google include:

    Permissions changes

  • The android.permission.USE_FINGERPRINT permission now has "normal" protection level, so it is no longer necessary to request this permission directly from the user. The USE_FINGERPRINT permission enables fingerprints to be enabled for authentication, but does not give the requesting app access to the enrollment/fingerprint administration flow.
  • The android.permission.WRITE_EXTERNAL_STORAGE permission has protection level "dangerous", meaning that apps wanting to write to external storage will need to request permission from the user at runtime. Both WRITE_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE are members of the STORAGE permission group.
  • Remote Bluetooth/Wi-Fi MAC's now require either the android.permission.LOCATION_FINE or android.permission.LOCATION_COURSE permission.
  • Some accounts and identity permissions are moved to CONTACTS permissions group and others are removed or granted based on account type. In particular, android.permission.USE_CREDENTIALS, android.permission.MANAGE_ACCOUNTS, and android.permission.AUTHENTICATE_ACCOUNTS are ungrouped pending further changes in a later release.
  • The Wi-Fi permissions android.permission.CHANGE_WIFI_STATE, android.permission.CHANGE_WIMAX_STATE, and android.permission.CHANGE_WIFI_MULTICAST_STATE now have protection level "normal".
  • The Bluetooth permissions android.permission.BLUETOOTH and android.permission.BLUETOOTH_ADMIN now have protection level "normal".
  • Bookmarks and subscribed feeds permissions are removed.
  • Apps included in the system image are no longer granted dangerous permissions automatically. All apps should check for and request permissions at runtime.
  • Introduces the utility method Activity.shouldShowRequestPermissionRationale(String), which lets your app see whether users have previously rejected a permission request. This lets you know that your app should explain the the user why it needs that permission. For more information see the Permissions developer guide.
  • Other changes

  • The android.app.AssistContent and android.app.AssistStructure classes are moved into a new package, android.app.assist.
  • Bluetooth Stylus APIs are updated and include new callback events. The View.OnStylusButtonPressListener class is renamed to View.OnContextClickListener and GestureDetector.OnStylusButtonPressListener class to GestureDetector.OnContextClickListener.
Comments

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Further reading: Android, Android M, Google, Mobiles, Tablets
Ketan Pratap
Ketan Pratap is the editor at Gadgets 360 - with over 12 years of experience covering the technology domain. With a breadth and depth of knowledge in the field, he's done extensive work across news, features, reviews, and opinion pieces. But what's truly inspiring about Ketan is how he spends his free time. He's often found gazing at snow-capped mountains from over 20,000 feet while sitting on the hood of his car, taking in the breathtaking beauty of nature. His passion for the great ...More
Iranian Diplomacy Logs on to Banned Social Media
EU Lawmakers Reject Restrictions on Right to Post Photos
Facebook Gadgets360 Twitter Share Tweet Snapchat LinkedIn Reddit Comment google-newsGoogle News

Advertisement

Follow Us
© Copyright Red Pixels Ventures Limited 2024. All rights reserved.
Trending Products »
Latest Tech News »