commit | 94ed570f3527e693c2874069c872054970599ec7 | [log] [tgz] |
---|---|---|
author | Mark Punzalan <markpun@google.com> | Wed Mar 30 18:19:54 2022 +0000 |
committer | Mark Punzalan <markpun@google.com> | Thu Apr 21 17:43:42 2022 +0000 |
tree | 27d1c7e882841cda52bd57f002402dab99268759 | |
parent | 75319f41137a2f0dcea3f7609de0fda9bf4ee0cf [diff] |
Reduce duplicate UiTranslationStateCallback calls. We don't invoke methods when translation state doesn't change (e.g., for consecutive startTranslation() calls). Bug: 192331240 Test: atest UiTranslationManagerTest Change-Id: I96def427b1fcabb7b83cb188c4b1ee017b5882a9