creating a java7 target for car-lib so it can be used at compile time in google3

Change-Id: I6dfb83669b6c0a36b79db3dcfc05ce526c9fbc95
diff --git a/car-lib/src/android/car/cluster/renderer/ThreadSafeNavigationRenderer.java b/car-lib/src/android/car/cluster/renderer/ThreadSafeNavigationRenderer.java
index 1fcdbc0..94011a2 100644
--- a/car-lib/src/android/car/cluster/renderer/ThreadSafeNavigationRenderer.java
+++ b/car-lib/src/android/car/cluster/renderer/ThreadSafeNavigationRenderer.java
@@ -118,12 +118,19 @@
         }
     }
 
-    private static <E> E runAndWaitResult(Handler handler, RunnableWithResult<E> runnable) {
+    private static <E> E runAndWaitResult(Handler handler, final RunnableWithResult<E> runnable) {
         final CountDownLatch latch = new CountDownLatch(1);
-        handler.post(() -> {
-            runnable.run();
-            latch.countDown();
-        });
+
+        Runnable wrappedRunnable = new Runnable() {
+            @Override
+            public void run() {
+                runnable.run();
+                latch.countDown();
+            }
+        };
+
+        handler.post(wrappedRunnable);
+
         try {
             latch.await();
         } catch (InterruptedException e) {