David Friedman | 6fb22b4 | 2015-07-09 16:00:38 -0700 | [diff] [blame] | 1 | page.title=Support and Release Notes |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 2 | page.tags="preview", "developer preview" |
Dirk Dougherty | 7470945 | 2015-05-15 00:51:24 -0700 | [diff] [blame] | 3 | page.image=images/cards/card-support_16-9_2x.png |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 4 | |
| 5 | @jd:body |
| 6 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 7 | <div class="cols" style= |
| 8 | "background-color:#ffebc3; padding: 5px 0;margin-bottom:1em; text-align:center;"> |
| 9 | <h3> |
| 10 | Developer Preview 2 is now available |
| 11 | </h3> |
| 12 | |
| 13 | <ul class="dac-section-links"> |
| 14 | <li class="dac-section-link"> |
| 15 | <a href="#preview2-notes"> |
| 16 | <span class="dac-sprite dac-auto-chevron"></span> |
David Friedman | 6fb22b4 | 2015-07-09 16:00:38 -0700 | [diff] [blame] | 17 | Read the Notes</a> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 18 | </li> |
| 19 | |
| 20 | <li class="dac-section-link"> |
| 21 | <a href="#preview2-get"> |
| 22 | <span class="dac-sprite dac-auto-chevron"></span> |
| 23 | Get the Update</a> |
| 24 | </li> |
| 25 | |
| 26 | <li class="dac-section-link"> |
| 27 | <a href="https://code.google.com/p/android-developer-preview/"> |
| 28 | <span class="dac-sprite dac-auto-chevron"></span> |
| 29 | Report Issues</a> |
| 30 | </li> |
| 31 | </ul> |
| 32 | </div> |
| 33 | |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 34 | <p> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 35 | Two primary support channels are available to you when developing and testing |
| 36 | with the Android M Developer Preview. If you've encountered bugs or have |
| 37 | feedback about the M Developer Preview, you can <a href= |
| 38 | "https://code.google.com/p/android-developer-preview/">create an issue</a> on |
| 39 | our issue tracker. We'll triage the issue for further review and provide |
| 40 | updates as needed. |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 41 | </p> |
| 42 | |
| 43 | <p> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 44 | To discuss issues or ideas with other developers working with Android M, join |
| 45 | the <a href="http://g.co/dev/AndroidMDevPreview">M Developer Preview Google+ |
| 46 | community</a>. |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 47 | </p> |
| 48 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 49 | <h2 id="preview2-notes"> |
| 50 | Developer Preview 2 |
| 51 | </h2> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 52 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 53 | <div class="wrap"> |
| 54 | <div class="cols"> |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 55 | <div class="col-9of16"> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 56 | <p> |
| 57 | <em>Date: July 2015<br> |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 58 | Builds: MPZ79M (Nexus 5, 6, 9), MPZ79N (Nexus Player)<br> |
| 59 | Hardware support: Nexus 5, 6, 9, Player<br> |
Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 60 | Emulator support: x86 & ARM 32/64-bit<br> |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 61 | Google Play services: 7.6</em> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 62 | </p> |
| 63 | </div> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 64 | </div> |
| 65 | </div> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 66 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 67 | <p> |
| 68 | Android M Developer Preview 2 is an <strong>incremental update</strong> to |
| 69 | the Android M preview platform that was originally released in May 2015. The |
| 70 | update includes a variety of enhancements and bug fixes made across the |
| 71 | system, including those related to issues reported by developers through the |
| 72 | external issue tracker. |
| 73 | </p> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 74 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 75 | <p> |
| 76 | If you are currently developing or testing on Android M, you should |
| 77 | <strong>update your environment</strong> to Developer Preview 2 as soon as |
| 78 | possible. This ensures that you are building with the latest platform APIs |
| 79 | and testing against the latest behaviors. If you are just getting started |
| 80 | with the Android M Developer Preview SDK, follow the instructions in <a href= |
| 81 | "/preview/setup-sdk.html">Set up the Preview SDK</a>, then update your |
| 82 | environment for Developer Preview 2. |
| 83 | </p> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 84 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 85 | <h3> |
| 86 | What's included |
| 87 | </h3> |
| 88 | |
| 89 | <p> |
| 90 | Developer Preview 2 includes an updated SDK with system images, |
| 91 | documentation, and samples for developing against the latest Android M |
| 92 | platform. |
| 93 | </p> |
| 94 | |
| 95 | <ul> |
| 96 | <li> |
| 97 | <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and |
| 98 | emulator) for building and testing. You can download the updated tools from |
| 99 | the SDK Manager, and the system images are available by over-the-air (OTA) |
| 100 | update or download (see below). |
| 101 | </li> |
| 102 | |
| 103 | <li> |
| 104 | <strong>Updated documentation</strong>. The <a href= |
| 105 | "/preview/behavior-changes.html">Behavior Changes</a>, <a href= |
| 106 | "/preview/api-overview.html">API Overview</a>, and <a href= |
| 107 | "/preview/features/runtime-permissions.html">Permissions</a> documents have |
| 108 | been updated to reflect the latest changes in the platform. An updated |
| 109 | <a href="/preview/download.html">Developer Documentation download |
| 110 | package</a> is available, including full reference docs and API diff |
| 111 | reports. |
| 112 | </li> |
| 113 | |
| 114 | <li> |
| 115 | <strong>Translations</strong> of the documentation are now available. Use |
| 116 | the language selector at the bottom right corner of any page to switch |
| 117 | languages. Note that some of the translated docs are not yet updated for |
| 118 | Developer Preview 2 (coming soon). |
| 119 | </li> |
| 120 | |
| 121 | <li>The <a href="/preview/samples.html">Android M code samples</a> are also |
| 122 | updated to account for API and behavior changes: |
| 123 | <ul> |
| 124 | <li> |
| 125 | <a href= |
| 126 | "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a> |
| 127 | / <a href= |
| 128 | "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a> |
| 129 | are updated to reflect latest permissions API changes, including |
| 130 | <code>shouldShowRequestPermissionRationale()</code>. |
| 131 | </li> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 132 | <li> |
| 133 | <a href= |
| 134 | "https://github.com/googlesamples/android-FingerprintDialog">FingerprintDialog</a> |
| 135 | adds a flow to ask for passwords when new fingerprints are added as |
| 136 | well as a preference if the app will use fingerprints as a method of |
| 137 | authentication. |
| 138 | </li> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 139 | </ul> |
| 140 | </li> |
| 141 | </ul> |
| 142 | |
| 143 | <h3 id="changes"> |
| 144 | Key changes |
| 145 | </h3> |
| 146 | |
| 147 | <ul> |
| 148 | <li>Permissions changes |
| 149 | <ul> |
| 150 | <li>The <code>android.permission.USE_FINGERPRINT</code> permission now |
| 151 | has "normal" protection level, so it is no longer necessary to request |
| 152 | this permission directly from the user. The <code>USE_FINGERPRINT</code> |
| 153 | permission enables fingerprints to be enabled for authentication, but |
| 154 | does not give the requesting app access to the enrollment/fingerprint |
| 155 | administration flow. |
| 156 | </li> |
| 157 | |
| 158 | <li>The <code>android.permission.WRITE_EXTERNAL_STORAGE</code> permission |
| 159 | has protection level "dangerous", meaning that apps wanting to write to |
| 160 | external storage will need to request permission from the user at |
David Friedman | 019a094 | 2015-07-09 13:33:22 -0700 | [diff] [blame] | 161 | runtime. Both <code>READ_EXTERNAL_STORAGE</code> and |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 162 | <code>WRITE_EXTERNAL_STORAGE</code> are members of the |
| 163 | <code>STORAGE</code> permission group. |
| 164 | </li> |
| 165 | |
| 166 | <li>Remote Bluetooth/Wi-Fi MAC's now require either the |
| 167 | <code>android.permission.LOCATION_FINE</code> or |
Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 168 | <code>android.permission.LOCATION_COARSE</code> permission. |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 169 | </li> |
| 170 | |
| 171 | <li>Some accounts and identity permissions are moved to |
| 172 | <code>CONTACTS</code> permissions group and others are removed or granted |
| 173 | based on account type. In particular, |
| 174 | <code>android.permission.USE_CREDENTIALS</code>, |
| 175 | <code>android.permission.MANAGE_ACCOUNTS</code>, and |
| 176 | <code>android.permission.AUTHENTICATE_ACCOUNTS</code> are ungrouped |
| 177 | pending further changes in a later release. |
| 178 | </li> |
| 179 | |
| 180 | <li>The Wi-Fi permissions |
| 181 | <code>android.permission.CHANGE_WIFI_STATE</code>, |
| 182 | <code>android.permission.CHANGE_WIMAX_STATE</code>, and |
| 183 | <code>android.permission.CHANGE_WIFI_MULTICAST_STATE</code> now have |
| 184 | protection level "normal". |
| 185 | </li> |
| 186 | |
| 187 | <li>The Bluetooth permissions <code>android.permission.BLUETOOTH</code> |
| 188 | and <code>android.permission.BLUETOOTH_ADMIN</code> now have protection |
| 189 | level "normal". |
| 190 | </li> |
| 191 | |
| 192 | <li>Bookmarks and subscribed feeds permissions are removed. |
| 193 | </li> |
| 194 | |
| 195 | <li>Apps included in the system image are no longer granted dangerous |
| 196 | permissions automatically. All apps should check for and request |
| 197 | permissions at runtime. |
| 198 | </li> |
| 199 | |
| 200 | <li>Introduces the utility method |
| 201 | <code>Activity.shouldShowRequestPermissionRationale(String)</code>, which |
| 202 | lets your app see whether users have previously rejected a permission |
| 203 | request. This lets you know that your app should explain the the user why |
| 204 | it needs that permission. For more information see the <a href= |
| 205 | "/preview/features/runtime-permissions.html#explain-need">Permissions</a> |
| 206 | developer guide. |
| 207 | </li> |
| 208 | </ul> |
| 209 | </li> |
| 210 | |
| 211 | <li>Other changes |
| 212 | <ul> |
| 213 | <li>The <code>android.app.AssistContent</code> and |
| 214 | <code>android.app.AssistStructure</code> classes are moved into a new |
| 215 | package, <code>android.app.assist</code>. |
| 216 | </li> |
| 217 | |
| 218 | <li>Bluetooth Stylus APIs are updated and include new callback events. |
| 219 | The <code>View.OnStylusButtonPressListener</code> class is renamed to |
| 220 | <code>View.OnContextClickListener</code> and |
| 221 | <code>GestureDetector.OnStylusButtonPressListener</code> class to <code> |
| 222 | GestureDetector.OnContextClickListener</code>. |
| 223 | </li> |
| 224 | </ul> |
| 225 | </li> |
| 226 | </ul> |
| 227 | |
| 228 | <p> |
| 229 | For a complete list of changes, including renamed and removed APIs, please |
| 230 | refer to the API Diff Reports included in the <a href= |
| 231 | "/preview/download.html#docs">Developer Documentation download package</a>. |
| 232 | </p> |
| 233 | |
| 234 | <h3 id="ki"> |
| 235 | Known issues |
| 236 | </h3> |
| 237 | |
| 238 | <ul> |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 239 | <li>General issues: |
| 240 | <ul> |
| 241 | <li>The system Messenger app crashes on the 64-bit emulator.</li> |
| 242 | <li>After updating to Developer Preview 2, Contacts sync experiences |
| 243 | intermittent issues. The workaround is to clear and re-sync Contact Storage |
| 244 | data after update. To clear data, go to <strong>Settings > Apps > Show |
| 245 | system > Contacts Storage</strong>. Select "Storage" and then |
| 246 | <strong>Clear data</strong>.</li> |
| 247 | <li>In YouTube app, it's not possible to share a video. The share window is |
| 248 | blank.</li> |
David Friedman | 48143e6 | 2015-07-10 11:41:02 -0700 | [diff] [blame] | 249 | <li>The bundled Google Apps Device Policy app included in Developer Preview 2 is unable to |
| 250 | properly set up an Android for Work Profile, so you cannot create a new Work Profile with this |
| 251 | app after you update. This issue is specific to the Google Apps Device Policy app, and not the |
| 252 | Android for Work platform (or our partner EMM providers). As a workaround for users of the |
| 253 | Google Apps Device Policy app, be sure to create a Work Profile in Developer Preview 1 before |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 254 | updating to Developer Preview 2. |
| 255 | </li> |
| 256 | </ul> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 257 | </li> |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 258 | <li>Issues specific to MPZ79N on Nexus Player: |
| 259 | <ul> |
| 260 | <li>Bluetooth share crashes after clearing data. Please <strong>do not |
Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 261 | clear app data for system services</strong>, otherwise you will need to Factory |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 262 | Reset your device</li> |
Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 263 | <li>Remote control can experience intermittent connectivity issues. </li> |
Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 264 | <li>Movies show black screen with some ANRs on exiting the video.</li> |
| 265 | <li>In YouTube app, lower-resolution videos have a green bar at the top |
| 266 | and some color-ghosting</li> |
| 267 | </li> |
| 268 | </ul> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 269 | </li> |
| 270 | </ul> |
| 271 | |
| 272 | <p> |
| 273 | For a complete list of reported issues, please refer to the <a href= |
| 274 | "https://code.google.com/p/android/issues/list">open issues list</a> on the |
| 275 | Developer Preview <a href= |
| 276 | "https://code.google.com/p/android-developer-preview/">issue tracker</a>. |
| 277 | </p> |
| 278 | |
| 279 | <h3 id="preview2-get"> |
| 280 | Get Developer Preview 2 |
| 281 | </h3> |
| 282 | |
| 283 | <p> |
| 284 | You can download the Developer Preview 2 platform and emulator images from |
| 285 | the SDK Manager. |
| 286 | </p> |
| 287 | |
| 288 | <p> |
| 289 | Developer Preview 2 system images for supported Nexus devices are available |
| 290 | by download and by over-the-air (OTA) update. The OTA update is available |
| 291 | only to supported devices that are currently running Developer Preview 1. If |
| 292 | your devices is running Developer Preview 1, you should automatically receive |
| 293 | the OTA update within a few days of availability. |
| 294 | </p> |
| 295 | |
| 296 | <p> |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 297 | If you are just getting started with Android M Developer Preview, and want |
| 298 | to receive Developer Preview 2 via OTA, download the appropriate |
| 299 | Developer Preview 1 <a href="{@docRoot}preview/download_mp1.html#images"> |
| 300 | system image</a>, and flash it to your device. Then, |
| 301 | leave the device powered on for several hours. It registers with the |
| 302 | OTA service, and receives Developer Preview 2 by OTA. |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 303 | </p> |
| 304 | |
| 305 | <p> |
| 306 | For instructions on how to download and flash your device to the Developer |
| 307 | Preview, see the links and instructions on the <a href= |
| 308 | "/preview/download.html">Downloads</a> page. |
| 309 | </p> |
| 310 | |
| 311 | <p> |
| 312 | For instructions on how to start developing and testing with Android M, read |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 313 | <a href="/preview/setup-sdk.html">Setting up the SDK</a>. |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 314 | </p> |
| 315 | |
| 316 | <h2 id="preview1-notes"> |
| 317 | Developer Preview 1 |
| 318 | </h2> |
| 319 | |
| 320 | <div class="wrap"> |
| 321 | <div class="cols"> |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 322 | <div class="col-6of12"> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 323 | <p> |
| 324 | <em>Date: May 2015<br> |
| 325 | Build: MPZ44Q<br> |
David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 326 | Hardware support: Nexus 5, 6, 9, Player<br> |
Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 327 | Emulator support: x86 & ARM (32/64-bit)<br> |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 328 | Google Play services: 7.5</em> |
| 329 | </p> |
| 330 | </div> |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 331 | </div> |
| 332 | </div> |
| 333 | |
Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 334 | <p> |
| 335 | Initial release. |
| 336 | </p> |
| 337 | |
Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 338 | |