[Android, Crash fix] Set accessory tabs independent from state
This CL fixes the most common keyboard accessory crashes for 69. Before it, the filling coordinator removed the exact instance of a held password sheet from the accessory. It would crash when the password tab wasn't part of the accessory anymore - maybe due to race conditions. With this implementation, the filling coordinator just resets all tabs of the accessory. As it's the owner of the accessory, this just forces it into a sane state (which is exactly what the reset is meant to do). Next up: Removing remove methods. Bug: 855036, 854348 Change-Id: I73563856745bfe106f78f58c15b395ce614c107a Reviewed-on: https://chromium-review.googlesource.com/1113308 Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> Reviewed-by:Bernhard Bauer <bauerb@chromium.org> Cr-Commit-Position: refs/heads/master@{#570015}
Showing
Please register or sign in to comment