| 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= |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 8 | "background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 9 | <h3> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 10 | Developer Preview 3 is now available |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 11 | </h3> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 12 | <p>Includes final SDK and near-final system images</p> |
| 13 | <div style="margin:auto 1em"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 14 | <ul class="dac-section-links"> |
| 15 | <li class="dac-section-link"> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 16 | <a href="#preview3-notes"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 17 | <span class="dac-sprite dac-auto-chevron"></span> |
| David Friedman | 6fb22b4 | 2015-07-09 16:00:38 -0700 | [diff] [blame] | 18 | Read the Notes</a> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 19 | </li> |
| 20 | |
| 21 | <li class="dac-section-link"> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 22 | <a href="#preview3-get"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 23 | <span class="dac-sprite dac-auto-chevron"></span> |
| 24 | Get the Update</a> |
| 25 | </li> |
| 26 | |
| 27 | <li class="dac-section-link"> |
| 28 | <a href="https://code.google.com/p/android-developer-preview/"> |
| 29 | <span class="dac-sprite dac-auto-chevron"></span> |
| 30 | Report Issues</a> |
| 31 | </li> |
| 32 | </ul> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 33 | </div> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 34 | </div> |
| 35 | |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 36 | <p> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 37 | Two primary support channels are available to you when developing and testing |
| 38 | with the Android M Developer Preview. If you've encountered bugs or have |
| 39 | feedback about the M Developer Preview, you can <a href= |
| 40 | "https://code.google.com/p/android-developer-preview/">create an issue</a> on |
| 41 | our issue tracker. We'll triage the issue for further review and provide |
| 42 | updates as needed. |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 43 | </p> |
| 44 | |
| 45 | <p> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 46 | To discuss issues or ideas with other developers working with Android M, join |
| 47 | the <a href="http://g.co/dev/AndroidMDevPreview">M Developer Preview Google+ |
| 48 | community</a>. |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 49 | </p> |
| 50 | |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 51 | <h2 id="preview3-notes"> |
| 52 | Developer Preview 3 |
| 53 | </h2> |
| 54 | |
| 55 | <div class="wrap"> |
| 56 | <div class="cols"> |
| 57 | <div class="col-9of16"> |
| 58 | <p> |
| 59 | <em>Date: August 2015<br> |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 60 | Builds: XXXXXX (Nexus 5, 6, 9), XXXXXX (Nexus Player)<br> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 61 | Hardware support: Nexus 5, 6, 9, Player<br> |
| 62 | Emulator support: x86 & ARM 32/64-bit<br> |
| 63 | Google Play services: 7.8</em> |
| 64 | </p> |
| 65 | </div> |
| 66 | </div> |
| 67 | </div> |
| 68 | |
| 69 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 70 | Developer Preview 3 is the <strong>final incremental update</strong> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 71 | to the Android M preview platform that was originally released in May 2015. |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 72 | The update includes <strong>final APIs and the official Android 6.0 SDK</strong>, |
| 73 | as well as <strong>near-final system images</strong> for testing your apps. The |
| 74 | updated system images bring a variety of fixes and enhancements across |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 75 | the system, including those related to issues reported by developers |
| 76 | through the external issue tracker. |
| 77 | </p> |
| 78 | |
| 79 | <p> |
| 80 | If you are currently developing or testing on Android M, you should <strong>update |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 81 | your environment</strong> as soon as possible, so that |
| 82 | you can begin <strong>final compatibility testing</strong> in preparation for |
| 83 | the public release to device manufacturers later this year.</p> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 84 | |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 85 | <p class="important">Updating to the Android 6.0 SDK and the latest |
| 86 | system images 3 ensures that you are building against final |
| 87 | platform APIs in <strong>API level 23</strong> and testing |
| 88 | against final behaviors. If you are just getting started, |
| 89 | follow the instructions in <a href= |
| 90 | "/preview/setup-sdk.html">Set up the Preview SDK</a>. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 91 | </p> |
| 92 | |
| 93 | <h3> |
| 94 | What's included |
| 95 | </h3> |
| 96 | |
| 97 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 98 | Developer Preview 3 includes the official Android 6.0 |
| 99 | SDK as well as updated preview system images, documentation, |
| 100 | and samples for developing against the Android 6.0 |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 101 | development platform. |
| 102 | </p> |
| 103 | |
| 104 | <ul> |
| 105 | <li> |
| 106 | <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 107 | emulator) for building and testing. You can download the Android 6.0 SDK and tools from |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 108 | the SDK Manager, and the system images are available by over-the-air (OTA) |
| 109 | update or download (see below). |
| 110 | </li> |
| 111 | |
| 112 | <li> |
| 113 | <strong>Updated documentation</strong>. The <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 114 | "{@docRoot}preview/behavior-changes.html">Behavior Changes</a>, <a href= |
| 115 | "{@docRoot}preview/api-overview.html">API Overview</a>, and <a href= |
| 116 | "{@docRoot}preview/features/runtime-permissions.html">Permissions</a> documents have |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 117 | been updated to reflect the latest changes in the platform. An updated |
| 118 | <a href="/preview/download.html">Developer Documentation download |
| 119 | package</a> is available, including full reference docs and API diff |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 120 | reports. Reference documentation is also now <a |
| 121 | href="{@docRoot}reference/packages.html">available online</a>. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 122 | </li> |
| 123 | |
| 124 | <li> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 125 | <strong>Translations</strong> of the documentation are available. Use |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 126 | the language selector at the bottom right corner of any page to switch |
| 127 | languages. Note that some of the translated docs are not yet updated for |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 128 | Developer Preview 3. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 129 | </li> |
| 130 | |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 131 | <li>The <a href="{@docRoot}preview/samples.html">Android M code samples</a> are also |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 132 | updated to account for API and behavior changes: |
| 133 | <ul> |
| 134 | <li> |
| 135 | <a href= |
| 136 | "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a> |
| 137 | / <a href= |
| 138 | "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a> |
| 139 | are updated to reflect latest permissions API changes, including |
| 140 | <code>shouldShowRequestPermissionRationale()</code>. |
| 141 | </li> |
| 142 | <li> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 143 | Other samples are updated to support runtime permissions. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 144 | </li> |
| 145 | </ul> |
| 146 | </li> |
| 147 | </ul> |
| 148 | |
| 149 | <h3 id="changes"> |
| 150 | Key changes |
| 151 | </h3> |
| 152 | |
| 153 | <ul> |
| 154 | <li>Add here |
| 155 | <ul> |
| 156 | <li> |
| 157 | </li> |
| 158 | </ul> |
| 159 | </li> |
| 160 | |
| 161 | <li>Other changes |
| 162 | <ul> |
| 163 | <li> |
| 164 | </li> |
| 165 | </ul> |
| 166 | </li> |
| 167 | </ul> |
| 168 | |
| 169 | <p> |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 170 | For a complete list of changes, including renamed and removed APIs, see the API Diff report for |
| 171 | <a href="{@docRoot}sdk/api_diff/23/changes.html">API level 22 to 23</a>. |
| 172 | </p> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 173 | |
| 174 | <h3 id="ki"> |
| 175 | Known issues |
| 176 | </h3> |
| 177 | |
| 178 | <ul> |
| 179 | <li>General issues: |
| 180 | <ul> |
| 181 | <li>Add |
| 182 | </li> |
| 183 | </ul> |
| 184 | </li> |
| 185 | </ul> |
| 186 | |
| 187 | <p> |
| 188 | For a complete list of reported issues, please refer to the <a href= |
| 189 | "https://code.google.com/p/android/issues/list">open issues list</a> on the |
| 190 | Developer Preview <a href= |
| 191 | "https://code.google.com/p/android-developer-preview/">issue tracker</a>. |
| 192 | </p> |
| 193 | |
| 194 | <h3 id="preview3-get"> |
| 195 | Get Developer Preview 3 |
| 196 | </h3> |
| 197 | |
| 198 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 199 | You can download the official Android 6.0 SDK platform and |
| 200 | Developer Preview 3 emulator images from the SDK Manager. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 201 | </p> |
| 202 | |
| 203 | <p> |
| 204 | Developer Preview 3 system images for supported Nexus devices are available |
| 205 | by download and by over-the-air (OTA) update. The OTA update is available |
| 206 | only to supported devices that are currently running a Developer Preview build. |
| 207 | If your device is running a Developer Preview build, you should automatically receive |
| 208 | the OTA update within a few days of availability. |
| 209 | </p> |
| 210 | |
| 211 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 212 | For instructions on how to download and flash your device to the latest Developer |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 213 | Preview, see the links and instructions on the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 214 | "{@docRoot}preview/download.html">Downloads</a> page. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 215 | </p> |
| 216 | |
| 217 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame^] | 218 | For instructions on how to start developing and testing with Android 6.0 |
| 219 | Marshmallow, read <a href="{@docRoot}preview/setup-sdk.html">Setting |
| 220 | up the SDK</a>. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 221 | </p> |
| 222 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 223 | <h2 id="preview2-notes"> |
| 224 | Developer Preview 2 |
| 225 | </h2> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 226 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 227 | <div class="wrap"> |
| 228 | <div class="cols"> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 229 | <div class="col-9of16"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 230 | <p> |
| 231 | <em>Date: July 2015<br> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 232 | Builds: MPZ79M (Nexus 5, 6, 9), MPZ79N (Nexus Player)<br> |
| 233 | Hardware support: Nexus 5, 6, 9, Player<br> |
| Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 234 | Emulator support: x86 & ARM 32/64-bit<br> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 235 | Google Play services: 7.6</em> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 236 | </p> |
| 237 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 238 | </div> |
| 239 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 240 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 241 | <p> |
| 242 | Android M Developer Preview 2 is an <strong>incremental update</strong> to |
| 243 | the Android M preview platform that was originally released in May 2015. The |
| 244 | update includes a variety of enhancements and bug fixes made across the |
| 245 | system, including those related to issues reported by developers through the |
| 246 | external issue tracker. |
| 247 | </p> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 248 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 249 | <p> |
| 250 | If you are currently developing or testing on Android M, you should |
| 251 | <strong>update your environment</strong> to Developer Preview 2 as soon as |
| 252 | possible. This ensures that you are building with the latest platform APIs |
| 253 | and testing against the latest behaviors. If you are just getting started |
| 254 | with the Android M Developer Preview SDK, follow the instructions in <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 255 | "{@docRoot}preview/setup-sdk.html">Set up the Preview SDK</a>, then update your |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 256 | environment for Developer Preview 2. |
| 257 | </p> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 258 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 259 | <h3> |
| 260 | What's included |
| 261 | </h3> |
| 262 | |
| 263 | <p> |
| 264 | Developer Preview 2 includes an updated SDK with system images, |
| 265 | documentation, and samples for developing against the latest Android M |
| 266 | platform. |
| 267 | </p> |
| 268 | |
| 269 | <ul> |
| 270 | <li> |
| 271 | <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and |
| 272 | emulator) for building and testing. You can download the updated tools from |
| 273 | the SDK Manager, and the system images are available by over-the-air (OTA) |
| 274 | update or download (see below). |
| 275 | </li> |
| 276 | |
| 277 | <li> |
| 278 | <strong>Updated documentation</strong>. The <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 279 | "{@docRoot}preview/behavior-changes.html">Behavior Changes</a>, <a href= |
| 280 | "{@docRoot}preview/api-overview.html">API Overview</a>, and <a href= |
| 281 | "{@docRoot}preview/features/runtime-permissions.html">Permissions</a> documents have |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 282 | been updated to reflect the latest changes in the platform. An updated |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 283 | <a href="{@docRoot}preview/download.html">Developer Documentation download |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 284 | package</a> is available, including full reference docs and API diff |
| 285 | reports. |
| 286 | </li> |
| 287 | |
| 288 | <li> |
| 289 | <strong>Translations</strong> of the documentation are now available. Use |
| 290 | the language selector at the bottom right corner of any page to switch |
| 291 | languages. Note that some of the translated docs are not yet updated for |
| 292 | Developer Preview 2 (coming soon). |
| 293 | </li> |
| 294 | |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 295 | <li>The <a href="{@docRoot}preview/samples.html">Android M code samples</a> are also |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 296 | updated to account for API and behavior changes: |
| 297 | <ul> |
| 298 | <li> |
| 299 | <a href= |
| 300 | "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a> |
| 301 | / <a href= |
| 302 | "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a> |
| 303 | are updated to reflect latest permissions API changes, including |
| 304 | <code>shouldShowRequestPermissionRationale()</code>. |
| 305 | </li> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 306 | <li> |
| 307 | <a href= |
| 308 | "https://github.com/googlesamples/android-FingerprintDialog">FingerprintDialog</a> |
| 309 | adds a flow to ask for passwords when new fingerprints are added as |
| 310 | well as a preference if the app will use fingerprints as a method of |
| 311 | authentication. |
| 312 | </li> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 313 | </ul> |
| 314 | </li> |
| 315 | </ul> |
| 316 | |
| 317 | <h3 id="changes"> |
| 318 | Key changes |
| 319 | </h3> |
| 320 | |
| 321 | <ul> |
| 322 | <li>Permissions changes |
| 323 | <ul> |
| 324 | <li>The <code>android.permission.USE_FINGERPRINT</code> permission now |
| 325 | has "normal" protection level, so it is no longer necessary to request |
| 326 | this permission directly from the user. The <code>USE_FINGERPRINT</code> |
| 327 | permission enables fingerprints to be enabled for authentication, but |
| 328 | does not give the requesting app access to the enrollment/fingerprint |
| 329 | administration flow. |
| 330 | </li> |
| 331 | |
| 332 | <li>The <code>android.permission.WRITE_EXTERNAL_STORAGE</code> permission |
| 333 | has protection level "dangerous", meaning that apps wanting to write to |
| 334 | external storage will need to request permission from the user at |
| David Friedman | 019a094 | 2015-07-09 13:33:22 -0700 | [diff] [blame] | 335 | runtime. Both <code>READ_EXTERNAL_STORAGE</code> and |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 336 | <code>WRITE_EXTERNAL_STORAGE</code> are members of the |
| 337 | <code>STORAGE</code> permission group. |
| 338 | </li> |
| 339 | |
| 340 | <li>Remote Bluetooth/Wi-Fi MAC's now require either the |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 341 | <code>android.permission.ACCESS_COARSE_LOCATION</code> or |
| 342 | <code>android.permission.ACCESS_FINE_LOCATION</code> permission. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 343 | </li> |
| 344 | |
| 345 | <li>Some accounts and identity permissions are moved to |
| 346 | <code>CONTACTS</code> permissions group and others are removed or granted |
| 347 | based on account type. In particular, |
| 348 | <code>android.permission.USE_CREDENTIALS</code>, |
| 349 | <code>android.permission.MANAGE_ACCOUNTS</code>, and |
| 350 | <code>android.permission.AUTHENTICATE_ACCOUNTS</code> are ungrouped |
| 351 | pending further changes in a later release. |
| 352 | </li> |
| 353 | |
| 354 | <li>The Wi-Fi permissions |
| 355 | <code>android.permission.CHANGE_WIFI_STATE</code>, |
| 356 | <code>android.permission.CHANGE_WIMAX_STATE</code>, and |
| 357 | <code>android.permission.CHANGE_WIFI_MULTICAST_STATE</code> now have |
| 358 | protection level "normal". |
| 359 | </li> |
| 360 | |
| 361 | <li>The Bluetooth permissions <code>android.permission.BLUETOOTH</code> |
| 362 | and <code>android.permission.BLUETOOTH_ADMIN</code> now have protection |
| 363 | level "normal". |
| 364 | </li> |
| 365 | |
| 366 | <li>Bookmarks and subscribed feeds permissions are removed. |
| 367 | </li> |
| 368 | |
| 369 | <li>Apps included in the system image are no longer granted dangerous |
| 370 | permissions automatically. All apps should check for and request |
| 371 | permissions at runtime. |
| 372 | </li> |
| 373 | |
| 374 | <li>Introduces the utility method |
| 375 | <code>Activity.shouldShowRequestPermissionRationale(String)</code>, which |
| 376 | lets your app see whether users have previously rejected a permission |
| 377 | request. This lets you know that your app should explain the the user why |
| 378 | it needs that permission. For more information see the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 379 | "{@docRoot}preview/features/runtime-permissions.html#explain-need">Permissions</a> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 380 | developer guide. |
| 381 | </li> |
| 382 | </ul> |
| 383 | </li> |
| 384 | |
| 385 | <li>Other changes |
| 386 | <ul> |
| 387 | <li>The <code>android.app.AssistContent</code> and |
| 388 | <code>android.app.AssistStructure</code> classes are moved into a new |
| 389 | package, <code>android.app.assist</code>. |
| 390 | </li> |
| 391 | |
| 392 | <li>Bluetooth Stylus APIs are updated and include new callback events. |
| 393 | The <code>View.OnStylusButtonPressListener</code> class is renamed to |
| 394 | <code>View.OnContextClickListener</code> and |
| 395 | <code>GestureDetector.OnStylusButtonPressListener</code> class to <code> |
| 396 | GestureDetector.OnContextClickListener</code>. |
| 397 | </li> |
| 398 | </ul> |
| 399 | </li> |
| 400 | </ul> |
| 401 | |
| 402 | <p> |
| 403 | For a complete list of changes, including renamed and removed APIs, please |
| 404 | refer to the API Diff Reports included in the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 405 | "{@docRoot}preview/download.html#docs">Developer Documentation download package</a>. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 406 | </p> |
| 407 | |
| 408 | <h3 id="ki"> |
| 409 | Known issues |
| 410 | </h3> |
| 411 | |
| 412 | <ul> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 413 | <li>General issues: |
| 414 | <ul> |
| 415 | <li>The system Messenger app crashes on the 64-bit emulator.</li> |
| 416 | <li>After updating to Developer Preview 2, Contacts sync experiences |
| 417 | intermittent issues. The workaround is to clear and re-sync Contact Storage |
| 418 | data after update. To clear data, go to <strong>Settings > Apps > Show |
| 419 | system > Contacts Storage</strong>. Select "Storage" and then |
| 420 | <strong>Clear data</strong>.</li> |
| 421 | <li>In YouTube app, it's not possible to share a video. The share window is |
| 422 | blank.</li> |
| David Friedman | 48143e6 | 2015-07-10 11:41:02 -0700 | [diff] [blame] | 423 | <li>The bundled Google Apps Device Policy app included in Developer Preview 2 is unable to |
| 424 | properly set up an Android for Work Profile, so you cannot create a new Work Profile with this |
| 425 | app after you update. This issue is specific to the Google Apps Device Policy app, and not the |
| 426 | Android for Work platform (or our partner EMM providers). As a workaround for users of the |
| 427 | 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] | 428 | updating to Developer Preview 2. |
| 429 | </li> |
| 430 | </ul> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 431 | </li> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 432 | <li>Issues specific to MPZ79N on Nexus Player: |
| 433 | <ul> |
| 434 | <li>Bluetooth share crashes after clearing data. Please <strong>do not |
| Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 435 | 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] | 436 | Reset your device</li> |
| Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 437 | <li>Remote control can experience intermittent connectivity issues. </li> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 438 | <li>Movies show black screen with some ANRs on exiting the video.</li> |
| 439 | <li>In YouTube app, lower-resolution videos have a green bar at the top |
| 440 | and some color-ghosting</li> |
| 441 | </li> |
| 442 | </ul> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 443 | </li> |
| 444 | </ul> |
| 445 | |
| 446 | <p> |
| 447 | For a complete list of reported issues, please refer to the <a href= |
| 448 | "https://code.google.com/p/android/issues/list">open issues list</a> on the |
| 449 | Developer Preview <a href= |
| 450 | "https://code.google.com/p/android-developer-preview/">issue tracker</a>. |
| 451 | </p> |
| 452 | |
| 453 | <h3 id="preview2-get"> |
| 454 | Get Developer Preview 2 |
| 455 | </h3> |
| 456 | |
| 457 | <p> |
| 458 | You can download the Developer Preview 2 platform and emulator images from |
| 459 | the SDK Manager. |
| 460 | </p> |
| 461 | |
| 462 | <p> |
| 463 | Developer Preview 2 system images for supported Nexus devices are available |
| 464 | by download and by over-the-air (OTA) update. The OTA update is available |
| 465 | only to supported devices that are currently running Developer Preview 1. If |
| 466 | your devices is running Developer Preview 1, you should automatically receive |
| 467 | the OTA update within a few days of availability. |
| 468 | </p> |
| 469 | |
| 470 | <p> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 471 | If you are just getting started with Android M Developer Preview, and want |
| 472 | to receive Developer Preview 2 via OTA, download the appropriate |
| 473 | Developer Preview 1 <a href="{@docRoot}preview/download_mp1.html#images"> |
| 474 | system image</a>, and flash it to your device. Then, |
| 475 | leave the device powered on for several hours. It registers with the |
| 476 | OTA service, and receives Developer Preview 2 by OTA. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 477 | </p> |
| 478 | |
| 479 | <p> |
| 480 | For instructions on how to download and flash your device to the Developer |
| 481 | Preview, see the links and instructions on the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 482 | "{@docRoot}preview/download.html">Downloads</a> page. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 483 | </p> |
| 484 | |
| 485 | <p> |
| 486 | For instructions on how to start developing and testing with Android M, read |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 487 | <a href="{@docRoot}preview/setup-sdk.html">Setting up the SDK</a>. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 488 | </p> |
| 489 | |
| 490 | <h2 id="preview1-notes"> |
| 491 | Developer Preview 1 |
| 492 | </h2> |
| 493 | |
| 494 | <div class="wrap"> |
| 495 | <div class="cols"> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 496 | <div class="col-6of12"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 497 | <p> |
| 498 | <em>Date: May 2015<br> |
| 499 | Build: MPZ44Q<br> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 500 | Hardware support: Nexus 5, 6, 9, Player<br> |
| Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 501 | Emulator support: x86 & ARM (32/64-bit)<br> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 502 | Google Play services: 7.5</em> |
| 503 | </p> |
| 504 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 505 | </div> |
| 506 | </div> |
| 507 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 508 | <p> |
| 509 | Initial release. |
| 510 | </p> |
| 511 | |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 512 | |