Merge "Don't skip intents where config changed." am: 29a28235b8

am: d2e44e8d11

Change-Id: I7dc7363297e5073266779e5986e12b3115590bdc
This commit is contained in:
Jerry Zhang
2017-05-11 20:58:05 +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());
}