Loading services/Android.mk +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ LOCAL_STATIC_JAVA_LIBRARIES := $(addprefix services.,$(services)) \ android.hidl.base-V1.0-java-static \ android.hardware.biometrics.fingerprint-V2.1-java-static LOCAL_JAVA_LIBRARIES := \ android.hidl.manager-V1.0-java ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true) LOCAL_EMMA_INSTRUMENT := true endif Loading services/usb/java/com/android/server/usb/UsbPortManager.java +1 −6 Original line number Diff line number Diff line Loading @@ -692,12 +692,7 @@ public class UsbPortManager { // Guard against possible reentrance by posting the broadcast from the handler // instead of from within the critical section. mHandler.post(new Runnable() { @Override public void run() { mContext.sendBroadcastAsUser(intent, UserHandle.ALL); } }); mHandler.post(() -> mContext.sendBroadcastAsUser(intent, UserHandle.ALL)); } private static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { Loading Loading
services/Android.mk +3 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ LOCAL_STATIC_JAVA_LIBRARIES := $(addprefix services.,$(services)) \ android.hidl.base-V1.0-java-static \ android.hardware.biometrics.fingerprint-V2.1-java-static LOCAL_JAVA_LIBRARIES := \ android.hidl.manager-V1.0-java ifeq ($(EMMA_INSTRUMENT_FRAMEWORK),true) LOCAL_EMMA_INSTRUMENT := true endif Loading
services/usb/java/com/android/server/usb/UsbPortManager.java +1 −6 Original line number Diff line number Diff line Loading @@ -692,12 +692,7 @@ public class UsbPortManager { // Guard against possible reentrance by posting the broadcast from the handler // instead of from within the critical section. mHandler.post(new Runnable() { @Override public void run() { mContext.sendBroadcastAsUser(intent, UserHandle.ALL); } }); mHandler.post(() -> mContext.sendBroadcastAsUser(intent, UserHandle.ALL)); } private static void logAndPrint(int priority, IndentingPrintWriter pw, String msg) { Loading