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

Commit e37eda7b authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Do not use lambda as it breaks javac

Bug: 63078196
Test: Built
Change-Id: I6f195ad127e95b76b85ad7417f31ac19af0ac5bc
parent 0cdd7b74
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) {