From 3900e0f4e690a507a6cc04a68dcc5c5ce05a9154 Mon Sep 17 00:00:00 2001 From: Andrey Yepin Date: Thu, 6 Feb 2025 13:06:48 -0800 Subject: Shareousel: add item position to item content description. Add known item cursor position to the item content description annotation when showing more than one item. This works well when the data provided by the app is consistent (the expected majority of the cases). The position annotation will be ommited in cases when we show the initially shared items before the cursor is loaded and for the initially shared items that were missing in the cursor. Fix: 379032721 Test: manual testing Flag: com.android.intentresolver.announce_shareousel_item_list_position Change-Id: Ie669db3897961d2cf09a30ef229e10badb501566 --- java/res/values/strings.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java/res/values') diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index 6504462f..52b27304 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -329,6 +329,9 @@ front of the list by the user. [CHAR LIMIT=NONE] --> Pinned + + Item %1$d Selectable image -- cgit v1.2.3-59-g8ed1b