commit | 186b9e447b5bbe8997f15f3878875fc05bd0589b | [log] [tgz] |
---|---|---|
author | Robert Wu <robertwu@google.com> | Fri Jun 03 22:18:42 2022 +0000 |
committer | Robert Wu <robertwu@google.com> | Fri Jun 03 22:22:45 2022 +0000 |
tree | 873fbcc8b7690508e776a1f8b877668f400583a5 | |
parent | 9ff3c6b64cfe6043d4e29326f5ebdff286b047d2 [diff] |
USB MIDI: Reset counter after unique codes full Some tests continously plug and unplug MIDI devices. After 1000 operations, there is an infinite while loop. This CL clears up the hashset if it is nearly full. Bug: 234688233 Test: Plug and unplug MIDI devices Change-Id: Ie0c6359c07694e3f6cc4a3011fd39a525314ab94