Merge "Don't skip intents where config changed."

This commit is contained in:
Treehugger Robot
2017-05-11 18:31:27 +00:00
committed by Gerrit Code Review

View File

@@ -682,7 +682,7 @@ public class UsbDeviceManager {
}
// send broadcast intent only if the USB state has changed
if (!isUsbStateChanged(intent)) {
if (!isUsbStateChanged(intent) && !configChanged) {
if (DEBUG) {
Slog.d(TAG, "skip broadcasting " + intent + " extras: " + intent.getExtras());
}