commit | 6f9dbb1203424972850b17d897c2b3d9b803b488 | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Fri Apr 21 14:48:31 2017 -0700 |
committer | Jerry Zhang <zhangjerry@google.com> | Mon Apr 24 16:58:06 2017 -0700 |
tree | e1a8736cc841848db51cdd75890ec1180144bc8e | |
parent | 740ca0f9f03c669b5a4abf33c970a817842bd7a5 [diff] |
Reorder USB_STATE updates so config_changed is not replaced. Because of flag INTENT.ACTION_REPLACE_PENDING, intents sent in rapid succession could replace previous intents that have not been processed, and it is unreliable when or whether this happens. Since CONFIG_CHANGED cannot afford to be lost, make sure it is sent last, so it is always processed. Bug: 34873000 Test: lots of unplugging/plugging Change-Id: I9264d5129139cf3f433bbcd068e8b292fec6cd31