Loading services/usb/java/com/android/server/usb/UsbPortManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -692,7 +692,12 @@ public class UsbPortManager { // Guard against possible reentrance by posting the broadcast from the handler // instead of from within the critical section. mHandler.post(() -> mContext.sendBroadcastAsUser(intent, UserHandle.ALL)); mHandler.post(new Runnable() { @Override public void run() { mContext.sendBroadcastAsUser(intent, UserHandle.ALL); } }); } private static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { Loading Loading
services/usb/java/com/android/server/usb/UsbPortManager.java +6 −1 Original line number Diff line number Diff line Loading @@ -692,7 +692,12 @@ public class UsbPortManager { // Guard against possible reentrance by posting the broadcast from the handler // instead of from within the critical section. mHandler.post(() -> mContext.sendBroadcastAsUser(intent, UserHandle.ALL)); mHandler.post(new Runnable() { @Override public void run() { mContext.sendBroadcastAsUser(intent, UserHandle.ALL); } }); } private static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { Loading