| 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> |
| Quddus Chong | 3166cc8 | 2015-08-18 12:59:24 -0700 | [diff] [blame] | 60 | Build: MPA44I<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>, |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 73 | as well as near-final system images for testing your apps. The |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame] | 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> |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 98 | Developer Preview 3 includes the official Android 6.0 |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame] | 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> |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 137 | and <a href= |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 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> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 152 | <ul> |
| Dirk Dougherty | bd58d6f | 2015-08-17 06:50:29 -0700 | [diff] [blame] | 153 | <li>General |
| Joe Fernandez | c45bd69 | 2015-08-17 14:21:12 -0700 | [diff] [blame] | 154 | <ul> |
| 155 | <li>Updated the Fingerprint API to enables better error reporting, |
| 156 | better fingerprint enrollment experience, and enumeration support for greater |
| 157 | reliability.</li> |
| 158 | <li>Modified app access to BLE and Wi-Fi scans to require the location permisssion when they |
| 159 | target Android 6.0 (API level 23) or higher. Apps targeting API 22 or earlier can |
| 160 | still perform BTLE and WiFi scans, but only when they are in the foreground. While in the background, those apps will get no results from BTLE and WiFi scans.</li> |
| 161 | </ul> |
| Dirk Dougherty | bd58d6f | 2015-08-17 06:50:29 -0700 | [diff] [blame] | 162 | </li> |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 163 | <li>Permission changes |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 164 | <ul> |
| Joe Fernandez | c45bd69 | 2015-08-17 14:21:12 -0700 | [diff] [blame] | 165 | <li>Updated the user interface for permissions and enhanced some of the permissions |
| 166 | behaviors.</li> |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 167 | <li>The {@link android.Manifest.permission#GET_ACCOUNTS} permission is now a member of the |
| 168 | {@link android.Manifest.permission_group#CONTACTS} permission group and it has a |
| 169 | {@code android:protectionLevel} of {@code dangerous}. This change means that when |
| 170 | targeting Android 6.0 (API level 23), you must check for and request this permission if |
| 171 | your app requires it. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 172 | </li> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 173 | |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 174 | <li>The {@code android.permission.READ_PROFILE} and {@code android.permission.WRITE_PROFILE} |
| 175 | permissions have been removed from the {@link android.Manifest.permission_group#CONTACTS} |
| 176 | permission group. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 177 | </li> |
| 178 | </ul> |
| 179 | </li> |
| 180 | </ul> |
| 181 | |
| 182 | <p> |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 183 | For a complete list of changes, including renamed and removed APIs, see the API Diff report for |
| 184 | <a href="{@docRoot}sdk/api_diff/23/changes.html">API level 22 to 23</a>. |
| 185 | </p> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 186 | |
| 187 | <h3 id="ki"> |
| 188 | Known issues |
| 189 | </h3> |
| 190 | |
| 191 | <ul> |
| 192 | <li>General issues: |
| 193 | <ul> |
| Dirk Dougherty | bd58d6f | 2015-08-17 06:50:29 -0700 | [diff] [blame] | 194 | <li>On LTE devices, including Nexus 9, GPS is not functioning properly, which may |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 195 | interfere with navigation services. |
| 196 | </li> |
| 197 | <li>During Hangouts calls, users may experience distorted or low audio on some devices. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 198 | </li> |
| Quddus Chong | 3166cc8 | 2015-08-18 12:59:24 -0700 | [diff] [blame] | 199 | <li>The Google Apps Device Policy app bundled with MPA44G is unable to set up an Android for |
| 200 | Work Profile, so you cannot create a new Work Profile with that version of the app. This issue is |
| 201 | resolved in the Google Apps Device Policy app bundled with MPA44I. Other apps that provide Android |
| 202 | for Work functionality remain unaffected on either build. |
| Joe Fernandez | c45bd69 | 2015-08-17 14:21:12 -0700 | [diff] [blame] | 203 | </li> |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 204 | </ul> |
| 205 | </li> |
| 206 | </ul> |
| 207 | |
| 208 | <p> |
| 209 | For a complete list of reported issues, please refer to the <a href= |
| 210 | "https://code.google.com/p/android/issues/list">open issues list</a> on the |
| 211 | Developer Preview <a href= |
| 212 | "https://code.google.com/p/android-developer-preview/">issue tracker</a>. |
| 213 | </p> |
| 214 | |
| 215 | <h3 id="preview3-get"> |
| 216 | Get Developer Preview 3 |
| 217 | </h3> |
| 218 | |
| 219 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame] | 220 | You can download the official Android 6.0 SDK platform and |
| 221 | Developer Preview 3 emulator images from the SDK Manager. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 222 | </p> |
| 223 | |
| 224 | <p> |
| 225 | Developer Preview 3 system images for supported Nexus devices are available |
| 226 | by download and by over-the-air (OTA) update. The OTA update is available |
| 227 | only to supported devices that are currently running a Developer Preview build. |
| 228 | If your device is running a Developer Preview build, you should automatically receive |
| 229 | the OTA update within a few days of availability. |
| 230 | </p> |
| 231 | |
| 232 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame] | 233 | 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] | 234 | Preview, see the links and instructions on the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 235 | "{@docRoot}preview/download.html">Downloads</a> page. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 236 | </p> |
| 237 | |
| 238 | <p> |
| Dirk Dougherty | 49eeebb | 2015-08-16 12:55:29 -0700 | [diff] [blame] | 239 | For instructions on how to start developing and testing with Android 6.0 |
| 240 | Marshmallow, read <a href="{@docRoot}preview/setup-sdk.html">Setting |
| 241 | up the SDK</a>. |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 242 | </p> |
| 243 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 244 | <h2 id="preview2-notes"> |
| 245 | Developer Preview 2 |
| 246 | </h2> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 247 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 248 | <div class="wrap"> |
| 249 | <div class="cols"> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 250 | <div class="col-9of16"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 251 | <p> |
| 252 | <em>Date: July 2015<br> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 253 | Builds: MPZ79M (Nexus 5, 6, 9), MPZ79N (Nexus Player)<br> |
| 254 | Hardware support: Nexus 5, 6, 9, Player<br> |
| Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 255 | Emulator support: x86 & ARM 32/64-bit<br> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 256 | Google Play services: 7.6</em> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 257 | </p> |
| 258 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 259 | </div> |
| 260 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 261 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 262 | <p> |
| 263 | Android M Developer Preview 2 is an <strong>incremental update</strong> to |
| 264 | the Android M preview platform that was originally released in May 2015. The |
| 265 | update includes a variety of enhancements and bug fixes made across the |
| 266 | system, including those related to issues reported by developers through the |
| 267 | external issue tracker. |
| 268 | </p> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 269 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 270 | <p> |
| 271 | If you are currently developing or testing on Android M, you should |
| 272 | <strong>update your environment</strong> to Developer Preview 2 as soon as |
| 273 | possible. This ensures that you are building with the latest platform APIs |
| 274 | and testing against the latest behaviors. If you are just getting started |
| 275 | 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] | 276 | "{@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] | 277 | environment for Developer Preview 2. |
| 278 | </p> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 279 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 280 | <h3> |
| 281 | What's included |
| 282 | </h3> |
| 283 | |
| 284 | <p> |
| 285 | Developer Preview 2 includes an updated SDK with system images, |
| 286 | documentation, and samples for developing against the latest Android M |
| 287 | platform. |
| 288 | </p> |
| 289 | |
| 290 | <ul> |
| 291 | <li> |
| 292 | <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and |
| 293 | emulator) for building and testing. You can download the updated tools from |
| 294 | the SDK Manager, and the system images are available by over-the-air (OTA) |
| 295 | update or download (see below). |
| 296 | </li> |
| 297 | |
| 298 | <li> |
| 299 | <strong>Updated documentation</strong>. The <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 300 | "{@docRoot}preview/behavior-changes.html">Behavior Changes</a>, <a href= |
| 301 | "{@docRoot}preview/api-overview.html">API Overview</a>, and <a href= |
| 302 | "{@docRoot}preview/features/runtime-permissions.html">Permissions</a> documents have |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 303 | been updated to reflect the latest changes in the platform. An updated |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 304 | <a href="{@docRoot}preview/download.html">Developer Documentation download |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 305 | package</a> is available, including full reference docs and API diff |
| 306 | reports. |
| 307 | </li> |
| 308 | |
| 309 | <li> |
| 310 | <strong>Translations</strong> of the documentation are now available. Use |
| 311 | the language selector at the bottom right corner of any page to switch |
| 312 | languages. Note that some of the translated docs are not yet updated for |
| 313 | Developer Preview 2 (coming soon). |
| 314 | </li> |
| 315 | |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 316 | <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] | 317 | updated to account for API and behavior changes: |
| 318 | <ul> |
| 319 | <li> |
| 320 | <a href= |
| 321 | "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a> |
| 322 | / <a href= |
| 323 | "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a> |
| 324 | are updated to reflect latest permissions API changes, including |
| 325 | <code>shouldShowRequestPermissionRationale()</code>. |
| 326 | </li> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 327 | <li> |
| 328 | <a href= |
| 329 | "https://github.com/googlesamples/android-FingerprintDialog">FingerprintDialog</a> |
| 330 | adds a flow to ask for passwords when new fingerprints are added as |
| 331 | well as a preference if the app will use fingerprints as a method of |
| 332 | authentication. |
| 333 | </li> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 334 | </ul> |
| 335 | </li> |
| 336 | </ul> |
| 337 | |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 338 | <h3 id="changes-p2"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 339 | Key changes |
| 340 | </h3> |
| 341 | |
| 342 | <ul> |
| 343 | <li>Permissions changes |
| 344 | <ul> |
| 345 | <li>The <code>android.permission.USE_FINGERPRINT</code> permission now |
| 346 | has "normal" protection level, so it is no longer necessary to request |
| 347 | this permission directly from the user. The <code>USE_FINGERPRINT</code> |
| 348 | permission enables fingerprints to be enabled for authentication, but |
| 349 | does not give the requesting app access to the enrollment/fingerprint |
| 350 | administration flow. |
| 351 | </li> |
| 352 | |
| 353 | <li>The <code>android.permission.WRITE_EXTERNAL_STORAGE</code> permission |
| 354 | has protection level "dangerous", meaning that apps wanting to write to |
| 355 | external storage will need to request permission from the user at |
| David Friedman | 019a094 | 2015-07-09 13:33:22 -0700 | [diff] [blame] | 356 | runtime. Both <code>READ_EXTERNAL_STORAGE</code> and |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 357 | <code>WRITE_EXTERNAL_STORAGE</code> are members of the |
| 358 | <code>STORAGE</code> permission group. |
| 359 | </li> |
| 360 | |
| 361 | <li>Remote Bluetooth/Wi-Fi MAC's now require either the |
| Dirk Dougherty | 2906bd5 | 2015-08-13 09:55:30 -0700 | [diff] [blame] | 362 | <code>android.permission.ACCESS_COARSE_LOCATION</code> or |
| 363 | <code>android.permission.ACCESS_FINE_LOCATION</code> permission. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 364 | </li> |
| 365 | |
| 366 | <li>Some accounts and identity permissions are moved to |
| 367 | <code>CONTACTS</code> permissions group and others are removed or granted |
| 368 | based on account type. In particular, |
| 369 | <code>android.permission.USE_CREDENTIALS</code>, |
| 370 | <code>android.permission.MANAGE_ACCOUNTS</code>, and |
| 371 | <code>android.permission.AUTHENTICATE_ACCOUNTS</code> are ungrouped |
| 372 | pending further changes in a later release. |
| 373 | </li> |
| 374 | |
| 375 | <li>The Wi-Fi permissions |
| 376 | <code>android.permission.CHANGE_WIFI_STATE</code>, |
| 377 | <code>android.permission.CHANGE_WIMAX_STATE</code>, and |
| 378 | <code>android.permission.CHANGE_WIFI_MULTICAST_STATE</code> now have |
| 379 | protection level "normal". |
| 380 | </li> |
| 381 | |
| 382 | <li>The Bluetooth permissions <code>android.permission.BLUETOOTH</code> |
| 383 | and <code>android.permission.BLUETOOTH_ADMIN</code> now have protection |
| 384 | level "normal". |
| 385 | </li> |
| 386 | |
| 387 | <li>Bookmarks and subscribed feeds permissions are removed. |
| 388 | </li> |
| 389 | |
| 390 | <li>Apps included in the system image are no longer granted dangerous |
| 391 | permissions automatically. All apps should check for and request |
| 392 | permissions at runtime. |
| 393 | </li> |
| 394 | |
| 395 | <li>Introduces the utility method |
| 396 | <code>Activity.shouldShowRequestPermissionRationale(String)</code>, which |
| 397 | lets your app see whether users have previously rejected a permission |
| 398 | request. This lets you know that your app should explain the the user why |
| 399 | it needs that permission. For more information see the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 400 | "{@docRoot}preview/features/runtime-permissions.html#explain-need">Permissions</a> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 401 | developer guide. |
| 402 | </li> |
| 403 | </ul> |
| 404 | </li> |
| 405 | |
| 406 | <li>Other changes |
| 407 | <ul> |
| 408 | <li>The <code>android.app.AssistContent</code> and |
| 409 | <code>android.app.AssistStructure</code> classes are moved into a new |
| 410 | package, <code>android.app.assist</code>. |
| 411 | </li> |
| 412 | |
| 413 | <li>Bluetooth Stylus APIs are updated and include new callback events. |
| 414 | The <code>View.OnStylusButtonPressListener</code> class is renamed to |
| 415 | <code>View.OnContextClickListener</code> and |
| 416 | <code>GestureDetector.OnStylusButtonPressListener</code> class to <code> |
| 417 | GestureDetector.OnContextClickListener</code>. |
| 418 | </li> |
| 419 | </ul> |
| 420 | </li> |
| 421 | </ul> |
| 422 | |
| 423 | <p> |
| 424 | For a complete list of changes, including renamed and removed APIs, please |
| 425 | refer to the API Diff Reports included in the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 426 | "{@docRoot}preview/download.html#docs">Developer Documentation download package</a>. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 427 | </p> |
| 428 | |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 429 | <h3 id="ki-p2"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 430 | Known issues |
| 431 | </h3> |
| 432 | |
| 433 | <ul> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 434 | <li>General issues: |
| 435 | <ul> |
| 436 | <li>The system Messenger app crashes on the 64-bit emulator.</li> |
| 437 | <li>After updating to Developer Preview 2, Contacts sync experiences |
| 438 | intermittent issues. The workaround is to clear and re-sync Contact Storage |
| 439 | data after update. To clear data, go to <strong>Settings > Apps > Show |
| 440 | system > Contacts Storage</strong>. Select "Storage" and then |
| 441 | <strong>Clear data</strong>.</li> |
| 442 | <li>In YouTube app, it's not possible to share a video. The share window is |
| 443 | blank.</li> |
| David Friedman | 48143e6 | 2015-07-10 11:41:02 -0700 | [diff] [blame] | 444 | <li>The bundled Google Apps Device Policy app included in Developer Preview 2 is unable to |
| 445 | properly set up an Android for Work Profile, so you cannot create a new Work Profile with this |
| 446 | app after you update. This issue is specific to the Google Apps Device Policy app, and not the |
| 447 | Android for Work platform (or our partner EMM providers). As a workaround for users of the |
| 448 | 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] | 449 | updating to Developer Preview 2. |
| 450 | </li> |
| 451 | </ul> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 452 | </li> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 453 | <li>Issues specific to MPZ79N on Nexus Player: |
| 454 | <ul> |
| 455 | <li>Bluetooth share crashes after clearing data. Please <strong>do not |
| Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 456 | 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] | 457 | Reset your device</li> |
| Dirk Dougherty | f739ad7 | 2015-07-09 13:05:04 -0700 | [diff] [blame] | 458 | <li>Remote control can experience intermittent connectivity issues. </li> |
| Dirk Dougherty | ecf63e4 | 2015-07-08 20:10:49 -0700 | [diff] [blame] | 459 | <li>Movies show black screen with some ANRs on exiting the video.</li> |
| 460 | <li>In YouTube app, lower-resolution videos have a green bar at the top |
| 461 | and some color-ghosting</li> |
| 462 | </li> |
| 463 | </ul> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 464 | </li> |
| 465 | </ul> |
| 466 | |
| 467 | <p> |
| 468 | For a complete list of reported issues, please refer to the <a href= |
| 469 | "https://code.google.com/p/android/issues/list">open issues list</a> on the |
| 470 | Developer Preview <a href= |
| 471 | "https://code.google.com/p/android-developer-preview/">issue tracker</a>. |
| 472 | </p> |
| 473 | |
| 474 | <h3 id="preview2-get"> |
| 475 | Get Developer Preview 2 |
| 476 | </h3> |
| 477 | |
| 478 | <p> |
| 479 | You can download the Developer Preview 2 platform and emulator images from |
| 480 | the SDK Manager. |
| 481 | </p> |
| 482 | |
| 483 | <p> |
| 484 | Developer Preview 2 system images for supported Nexus devices are available |
| 485 | by download and by over-the-air (OTA) update. The OTA update is available |
| 486 | only to supported devices that are currently running Developer Preview 1. If |
| Joe Fernandez | bd4ed32 | 2015-08-16 16:56:02 -0700 | [diff] [blame] | 487 | your devices are running Developer Preview 1, you should automatically receive |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 488 | the OTA update within a few days of availability. |
| 489 | </p> |
| 490 | |
| 491 | <p> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 492 | If you are just getting started with Android M Developer Preview, and want |
| 493 | to receive Developer Preview 2 via OTA, download the appropriate |
| 494 | Developer Preview 1 <a href="{@docRoot}preview/download_mp1.html#images"> |
| 495 | system image</a>, and flash it to your device. Then, |
| 496 | leave the device powered on for several hours. It registers with the |
| 497 | OTA service, and receives Developer Preview 2 by OTA. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 498 | </p> |
| 499 | |
| 500 | <p> |
| 501 | For instructions on how to download and flash your device to the Developer |
| 502 | Preview, see the links and instructions on the <a href= |
| Joe Fernandez | ad55a8e | 2015-08-14 15:24:43 -0700 | [diff] [blame] | 503 | "{@docRoot}preview/download.html">Downloads</a> page. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 504 | </p> |
| 505 | |
| 506 | <p> |
| 507 | 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] | 508 | <a href="{@docRoot}preview/setup-sdk.html">Setting up the SDK</a>. |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 509 | </p> |
| 510 | |
| 511 | <h2 id="preview1-notes"> |
| 512 | Developer Preview 1 |
| 513 | </h2> |
| 514 | |
| 515 | <div class="wrap"> |
| 516 | <div class="cols"> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 517 | <div class="col-6of12"> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 518 | <p> |
| 519 | <em>Date: May 2015<br> |
| 520 | Build: MPZ44Q<br> |
| David Friedman | 1809f53 | 2015-07-08 22:11:23 -0700 | [diff] [blame] | 521 | Hardware support: Nexus 5, 6, 9, Player<br> |
| Dirk Dougherty | 4e1cc12 | 2015-07-08 20:23:04 -0700 | [diff] [blame] | 522 | Emulator support: x86 & ARM (32/64-bit)<br> |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 523 | Google Play services: 7.5</em> |
| 524 | </p> |
| 525 | </div> |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 526 | </div> |
| 527 | </div> |
| 528 | |
| Dirk Dougherty | 70f1aad | 2015-07-07 08:18:35 -0700 | [diff] [blame] | 529 | <p> |
| 530 | Initial release. |
| 531 | </p> |
| 532 | |
| Joe Fernandez | 306f1ce | 2015-05-01 12:51:21 -0700 | [diff] [blame] | 533 | |