Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0e0ffb5 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

Merge "Do not use lambda as it breaks javac"

parents 54591cd4 e37eda7b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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) {