commit | 5852540a88e40e3257bdd82dca2abaddb16b6d75 | [log] [tgz] |
---|---|---|
author | Caitlin Cassidy <ccassidy@google.com> | Fri Jan 14 20:06:51 2022 +0000 |
committer | Caitlin Cassidy <ccassidy@google.com> | Fri Jan 14 20:49:39 2022 +0000 |
tree | b9c4c0c91da89cec70f5a1c26f3c76f64b30d520 | |
parent | a6d18d89f953644ec0f96062214a1bc8bd970ece [diff] |
[Media TTT] Add an undo callback to the interface for when a transfer has succeeded. The callback will be invoked when the user presses the undo button. Bug: 203800643 Bug: 203800347 Test: verify `adb shell cmd statusbar media-ttt-chip-add-sender Device TransferToReceiverSucceeded` shows a chip with an Undo button. Verify tapping the undo button switches the chip to the loading state again. Test: media.taptotransfer tests Change-Id: I912caa4408badffaa7a8e19f04e89bafd5d9a8ad