commit | 768dd994f388774dcfcebf4c960f5a27828ff119 | [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 12:40:41 2017 -0700 |
tree | 604b1f45955eaac6765e7ad4f3cccae0de7a2c9a | |
parent | 41bf42a1c73d762856d5a38d7548cf751ae8bd15 [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