Merge "Don't skip intents where config changed."
am: 29a28235b8
Change-Id: I65c377c4fb84223787245e28f0de31a0e4f8a6e5
This commit is contained in:
@@ -682,7 +682,7 @@ public class UsbDeviceManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// send broadcast intent only if the USB state has changed
|
// send broadcast intent only if the USB state has changed
|
||||||
if (!isUsbStateChanged(intent)) {
|
if (!isUsbStateChanged(intent) && !configChanged) {
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Slog.d(TAG, "skip broadcasting " + intent + " extras: " + intent.getExtras());
|
Slog.d(TAG, "skip broadcasting " + intent + " extras: " + intent.getExtras());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user