Revert "Upgrade the Development app to 1.8, and use a lambda."

This reverts commit 17f05f58202ba73c2514f4582d382661cc460f3b.

Change-Id: Idc8259a5a2fd209c19a6f548ddf8b1a09ed33966
diff --git a/apps/Development/Android.mk b/apps/Development/Android.mk
index 560f582..9dd2e1a 100644
--- a/apps/Development/Android.mk
+++ b/apps/Development/Android.mk
@@ -11,6 +11,4 @@
 LOCAL_PACKAGE_NAME := Development
 LOCAL_CERTIFICATE := platform
 
-LOCAL_JAVA_LANGUAGE_VERSION := 1.8
-
 include $(BUILD_PACKAGE)
diff --git a/apps/Development/src/com/android/development/Connectivity.java b/apps/Development/src/com/android/development/Connectivity.java
index c454db6..53df614 100644
--- a/apps/Development/src/com/android/development/Connectivity.java
+++ b/apps/Development/src/com/android/development/Connectivity.java
@@ -334,7 +334,16 @@
                     public void onAvailable(Network network) {
                         mNetwork = network;
                         onHttpRequestResults(null);
-                        runOnUiThread(() -> findViewById(mProgressBar).setVisibility(View.GONE));
+// TODO: replace with:
+//                      runOnUiThread(() -> {
+//                            findViewById(mProgressBar).setVisibility(View.GONE);
+//                      });
+                        runOnUiThread(new Runnable() {
+                            @Override
+                            public void run() {
+                                findViewById(mProgressBar).setVisibility(View.GONE);
+                            }
+                        });
                     }
                     @Override
                     public void onLost(Network network) {