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

Commit 03196cdf authored by Colin Cross's avatar Colin Cross
Browse files

Revert "Do not use lambda as it breaks javac"

This reverts commit e37eda7b.

I83e7e8efdff9cd662e179240336abebedf859c62 adds the missing
dependency to let desugar work.

Bug: 63078196
Test: m -j ANDROID_COMPILE_WITH_JACK=false
parent e44d2ae8
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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) {