1page.title=Support and Release Notes 2meta.keywords="preview", "wear" 3page.tags="preview", "developer preview" 4 5@jd:body 6 7<p> 8 If you experience problems when developing and testing with the 9 Wear 2.0 Developer Preview, please file bugs at 10 <a href="https://g.co/wearpreviewbug">https://g.co/wearpreviewbug</a>. 11</p> 12 13<p> 14 To discuss issues or ideas with other developers working with Android Wear, 15 join the <a href="https://plus.google.com/communities/113381227473021565406"> 16 Wear Developer Google+ community</a>. 17</p> 18 19<div id="qv-wrapper"> 20<div id="qv"> 21 22<h2>In this document</h2> 23 24<ul> 25 <li><a href="#general">General Advisories</a></li> 26 <li><a href="#deprecations">Deprecations</a></li> 27 <li><a href="#dp2">Developer Preview 2</a></li> 28 <li><a href="#dp1">Developer Preview 1</a></li> 29</ul> 30 31</div> 32</div> 33 34<h2 id="general">General Advisories</h2> 35 36<p> 37 The developer preview is for <strong>app developers and other early 38 adopters</strong> and is available for daily use, development, or 39 compatibility testing. Please be aware of these general notes about the 40 release: 41</p> 42 43<ul> 44 <li>The developer preview may have various <strong>stability issues</strong> on 45 supported devices. Users may encounter system instability, such as kernel 46 panics and crashes. 47 </li> 48 <li>Some apps <strong>may not function as expected</strong> on the new 49 platform version. This includes Google’s apps and other apps. 50 </li> 51</ul> 52 53<h2 id="deprecations">Deprecations</h2> 54 55<p>The following fields are deprecated in the preview:</p> 56 57<ul> 58 <li>The <code>Notification.WearableExtender#setCustomSizePreset(int)</code> 59 method no longer accepts <code>SIZE_FULL_SCREEN</code> and this value is now 60 undefined. 61 </li> 62 <li>The <code>Notification.WearableExtender#setContentIcon(int)</code> method 63 is deprecated. 64 </li> 65</ul> 66 67<h2 id="dp2">Developer Preview 2</h2> 68 69<div class="wrap"> 70 <div class="cols"> 71 <div class="col-6of12"> 72 <p><em>Date: July 2016<br /> 73 Builds: Wearable Support 2.0.0-alpha2, NVD83H<br/> 74 Emulator support: x86 & ARM (32-bit)<br/> 75 </em></p> 76 </div> 77 </div> 78</div> 79 80<h3 id="new-in-fdp2"> 81 <strong>New in Preview 2</strong> 82</h3> 83 84<h4 id="platform-version-24"> 85 Platform API Version 86</h4> 87 88<p> 89 The Android Platform API version is incremented to 24 to match Android Nougat. 90 You can update the following in your Android Wear 2.0 Preview project 91 to <strong>24</strong>: 92</p> 93 94<ul> 95 <li><code>compileSdkVersion</code></li> 96 <li><code>targetSdkVersion</code></li> 97</ul> 98 99<h4 id="wearable-drawers"> 100 Wearable drawers 101</h4> 102 103<p> 104 The following are feature additions for <a href= 105 "{@docRoot}wear/preview/features/ui-nav-actions.html"> 106 wearable drawers</a>: 107</p> 108 109<ul> 110 <li>Drawer peeking is now supported in the <code>onCreate()</code> method 111 of your app's activity. 112 </li> 113 114 <li>The automatic drawer peeking behavior is 115 inverted. Now the bottom drawer peeks when the user scrolls down the view 116 and top drawer peeks when the user scrolls to the top of the view 117 (previously scrolling down did not show peek view). 118 </li> 119 120 <li>Two new attributes, <code>peek_view</code> and 121 <code>drawer_content</code>, are added to 122 <code>WearableDrawerView</code> to specify contents of custom drawers and 123 peek view in your XML layout (previously, custom drawer contents were 124 specified only through Java code). 125 </li> 126 127 <li>The Navigation drawer now displays page indicator dots. 128 </li> 129 130 <li>Peek views now close automatically after one second. 131 </li> 132 133 <li>The <code>WearableNavigationDrawer</code> now automatically closes 134 after five seconds or when an item is tapped. 135 </li> 136 137 <li>There is improved drawer handling (size and margins) for devices with chins: 138 <ul> 139 <li>Size: The bottom drawer is slightly smaller when there is a 140 chin. 141 </li> 142 <li>Margins: <code>WearableDrawerLayout</code> sets its bottom margin 143 size equal to the size of the chin, so that the bottom drawer is 144 fully visible. 145 </li> 146 </ul> 147 <li>The navigation drawer contents are now updated when 148 <code><a href="{@docRoot}reference/android/widget/ArrayAdapter.html#notifyDataSetChanged()"> 149 notifyDataSetChanged</a></code> is called on the adapter. 150 </li> 151 152 <li>In your <code>WearableActionDrawer</code>, when there is only one 153 action, its icon is shown in the peek view and the action is executed 154 when the peek view is tapped. 155 </li> 156 157 <li>When the peek view of your <code>WearableActionDrawer</code> has 158 more than one action, both the first action and the overflow icons are 159 shown. 160 </li> 161</ul> 162 163<h4 id="gestures"> 164 Wrist gestures 165</h4> 166 167<p> 168 Wrist gestures can enable quick, one-handed interactions with your app. 169 For example, a user can 170 scroll through notifications with one hand while holding a cup of water 171 with the other. For more information, see <a href= 172 "{@docRoot}wear/preview/features/gestures.html"> 173 Wrist Gestures</a>. 174</p> 175 176<h3 id="known-issues-2"> 177 <strong>Known Issues</strong> 178</h3> 179 180<h4 id="notifications-2"> 181 Notifications 182</h4> 183 184<ul> 185 <li>This preview release does not include support for notification 186 groups. 187 </li> 188 189 <li>The user interface for the action drawer can sometimes have a 190 transparent background. 191 </li> 192 193 <li>The system does not generate Smart Reply responses even if 194 <code>setAllowGeneratedReplies(true)</code> is set. 195 </li> 196</ul> 197 198<h4 id="complications-2"> 199 Complications 200</h4> 201 202<ul> 203 <li>When tapping on the music complication on a watch face, Play Music 204 crashes if the Apps launcher provider is used. 205 </li> 206</ul> 207 208<h4 id="system-user-interface-2"> 209 System User Interface 210</h4> 211 212<ul> 213 <li>Pressing the hardware button in ambient mode triggers active mode 214 with the app launcher instead of active mode only. 215 </li> 216 217 <li>Double pressing the power hardware button while on the launcher 218 causes the watch screen to turn black. 219 </li> 220 221 <li>Dismissing multiple notifications can cause app to forcibly close. 222 </li> 223 224 <li>Turning screen lock to off (Enable and disable) functionality is not 225 reliable. 226 </li> 227 228 <li>The "Ok Google" detection and voice transcription may not work 229 reliably. Additionally, Search does not retrieve results. 230 </li> 231 232 <li>Tapping Google keyboard English (United States) displays a "Settings 233 under construction" message. 234 </li> 235 236 <li>First calendar event notification must be dismissed in order to show 237 the rest of the event card. 238 </li> 239 240 <li>Unable to turn off the Wi-Fi on a wearable. 241 </li> 242</ul> 243 244<h4 id="companion-app-2"> 245 Companion App 246</h4> 247 248<ul> 249 <li>An actions card is shown in the Android Wear companion app, even 250 though there are no actions. 251 </li> 252</ul> 253 254<h4 id="devices-2"> 255 Devices 256</h4> 257 258<ul> 259 <li>On the Huawei Watch, selecting the language, followed by multiple 260 acknowledgement dialogues results in a black screen. 261 </li> 262 263 <li>On the LG Watch Urbane 2nd Edition, when answering a call from the watch, the 264 watch does not provide audio from the caller. 265 </li> 266 267 <li>On the LG Watch Urbane 2nd Edition, 268 please do the following to prevent battery drain: 269 Turn on Airplane mode (to disable the cellular radio) and then 270 turn on Bluetooth. 271 </li> 272</ul> 273 274<h2 id="dp1">Developer Preview 1</h2> 275 276<div class="wrap"> 277 <div class="cols"> 278 <div class="col-6of12"> 279 <p><em>Date: May 2016<br /> 280 Builds: Wearable Support 2.0.0-alpha1, NVD36I <br /> 281 Emulator support: x86 & ARM (32-bit)<br/> 282 </em></p> 283 </div> 284 </div> 285</div> 286 287<h3 id="known_issues">Known Issues</h3> 288 289<h4 id="notifications">Notifications</h4> 290 291<ul> 292 <li>This preview release does not include support for notification groups, 293 but will be supported in a future release. 294 </li> 295 <li>Tapping on next and previous controls in a notification while playing 296 music does not work. 297 </li> 298 <li>Bottom drawer actions user interface overlaps with media card 299 notifications. 300 </li> 301 <li>The system does not generate Smart Reply responses even if 302 <code>setAllowGeneratedReplies(true)</code> is set. 303 </li> 304</ul> 305 306<h4 id="complications">Complications</h4> 307 308<ul> 309 <li>Battery information is not synchronized between the 310 watch face and the drop-down Quick menu. 311 </li> 312 <li>When tapping on the music complication on a watch face, Play Music 313 crashes if the Apps launcher provider is used. 314 </li> 315</ul> 316 317<h4 id="system_user_interface">System User Interface</h4> 318 319<ul> 320 <li>Pressing the hardware button in ambient mode triggers active mode with 321 the app launcher instead of active mode only. 322 </li> 323 <li>Double pressing the power hardware button while on the launcher causes 324 the watch screen to turn black. 325 </li> 326 <li>Dismissing multiple notifications can cause app to force close. 327 </li> 328 <li>Turning screen lock to off (Enable and disable) functionality is not 329 reliable. 330 </li> 331 <li>Airplane mode does not work from quick settings. 332 </li> 333 <li>Tapping Google keyboard English (United States) displays a <em>Settings 334 under construction</em> message. 335 </li> 336 <li>First calendar event notification must be dismissed in order to show the 337 rest of the event card. 338 </li> 339 <li>Unable to turn off the Wifi on wearable. 340 </li> 341 <li>Voice transcription may not work reliably at this time. 342 </li> 343</ul> 344 345<h4 id="companion_app">Companion App</h4> 346 347<ul> 348 <li>Selecting a watch face on the companion app will not change the watch face on 349 wearable.</li> 350 <li>An actions card is shown in the Android Wear companion app, even 351 though there are no actions. 352 </li> 353</ul> 354 355<h4 id="devices">Devices</h4> 356 357<ul> 358 <li>On the Huawei Watch, selecting the language, followed by multiple 359 acknowledgement dialogues results in a black screen. 360 </li> 361 <li>On the LG Watch Urbane 2nd Edition, when 362 answering a call from the watch, the watch 363 does not provide audio from the caller. 364 </li> 365</ul> 366