summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorCaitlin Cassidy <ccassidy@google.com>2021-11-30 20:10:33 +0000
committerCaitlin Cassidy <ccassidy@google.com>2021-12-01 15:38:50 +0000
commitb38287430bf6db360652f19ac08256b0dff9c16d (patch)
tree3eecc00a096536805bcd8b2866f951438a6ca4ae /core/java/android/inputmethodservice/InputMethodService.java
parent77243f982aba7298c5d7c03a14f0d6155488f81c (diff)
[Media TTT] Add three different states for the media TTT chip and allow
each of them to be displayed with the correct text via adb. For example, to display the "Move closer to..." chip state for a device named "Tablet", run the adb command `adb shell cmd statusbar media-ttt-chip-add Tablet MOVE_CLOSER_TO_TRANSFER`. App icon, loading icon, and undo button coming in future CLs. Screenshots of the chip with loading and undo are in https://b.corp.google.com/issues/203800327#comment3. Bug: 203800327 Test: `adb shell cmd statusbar media-ttt-chip-add Tablet MOVE_CLOSER_TO_TRANSFER` shows a chip with the text "Move closer to play on Tablet" Test: `adb shell cmd statusbar media-ttt-chip-add Tablet TRANSFER_INITIATED` shows a chip with the text "Playing on Tablet" (will have a loading icon in future) Test: `adb shell cmd statusbar media-ttt-chip-add Tablet TRANSFER_SUCCEEDED` shows a chip with the text "Playing on Tablet" (will have an undo button in future) Test: MediaTttChipControllerTest Change-Id: Icc8f5561fff6d862c4eedaa5b454c35aa827bcaf
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions