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
Loading
Please register or sign in to comment