diff options
author | Unsuk Jung <unsuk@google.com> | 2015-10-08 06:47:28 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-08 06:47:28 +0000 |
commit | 8e896bd86e5fa46d05a8a87fde7ca92e71c25407 (patch) | |
tree | d362d77a0844a30ded073530c024a28e8b41dcf3 | |
parent | c483ec9e1aa3936f2a8f29d08563f4678f1fb37a (diff) | |
parent | f8c9303bcb2d2812529b1c89ba5a58b51f03a0fa (diff) | |
download | source.android.com-8e896bd86e5fa46d05a8a87fde7ca92e71c25407.tar.gz |
Merge "CDD: Requirement updates for the assistant" into mnc-dev
-rw-r--r-- | src/compatibility/android-cdd.html | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/compatibility/android-cdd.html b/src/compatibility/android-cdd.html index 50f1cf10..d8f7e6b5 100644 --- a/src/compatibility/android-cdd.html +++ b/src/compatibility/android-cdd.html @@ -1459,6 +1459,20 @@ to the search box when it is run in global search mode. If no third-party applications are installed that make use of this functionality, the default behavior SHOULD be to display web search engine results and suggestions.</p> +<p>Android device implementations SHOULD implement an assistant on the device +to handle the Assist action [<a +href="http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST">Resources, +69</a>].</p> + +<p>Android also includes the Assist APIs to allow applications to elect how much +information of the current context are shared with the assistant on the device [<a +href="https://developer.android.com/reference/android/app/assist/package-summary.html">Resources, +XX</a>]. Device implementations supporting the Assist action MUST indicate clearly to +the end user when the the context is shared by showing a white light that runs around +the edges of the screen. To ensure clear visibility to the end user, the indication MUST +be with a duration as long as, and a visibility as strong as, at least the Android Open +Source Project implementation.</p> + <h3 id="3_8_5_toasts">3.8.5. Toasts</h3> @@ -3180,13 +3194,11 @@ available to applications when targetSdkVersion is less than 10, either by a phy button, a software key, or gestures. This Menu function should be presented unless hidden together with other navigation functions.</p> -<p>Android supports Assist action [<a href="http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST">Resources, 69</a>]. Android device implementations except for Android Watch devices MUST make -the Assist action available to the user at all times when running applications. -The Assist action SHOULD be implemented as a long-press on the Home button or a -swipe-up gesture on the software Home key. This function MAY be implemented via -another physical button, software key, or gesture, but MUST be accessible with -a single action (e.g. tap, double-click, or gesture) when other navigation keys -are visible.</p> +<p>Android device implementations with the support of the Assist action [<a +href="http://developer.android.com/reference/android/content/Intent.html#ACTION_ASSIST">Resources, +69</a>] MUST make this accessisble with a single action (e.g. tap, double-click, +or gesture) when other navigation keys are visible, and are STRONGLY RECOMMENDED to +use the long-press on the Home button or software key as the single action.</p> <p>Device implementations MAY use a distinct portion of the screen to display the navigation keys, but if so, MUST meet these requirements:</p> |