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

am: 29a28235b8

Change-Id: I65c377c4fb84223787245e28f0de31a0e4f8a6e5
This commit is contained in:
Jerry Zhang
2017-05-11 20:18:16 +00:00
committed by android-build-merger

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());
}