Wait for destoroying activities on EglConfigTest#testEglConfigs

It is not enough time to destroy the activity completely between the test cycle.

Before destraction processing is completed, the next drawing is begun.
It needs to insert sleep during test process like as follows:
<https://android.googlesource.com/platform/cts/+/android-cts-7.1_r1/tests/tests/graphics/src/android/opengl/cts/EglConfigTest.java>
Signed-off-by: Takeshi Katae <takeshi.katae.xm@kyocera.jp>

Change-Id: I677a51228f0d115983985d409f918206a7c804b7
diff --git a/tests/tests/graphics/src/android/opengl/cts/EglConfigTest.java b/tests/tests/graphics/src/android/opengl/cts/EglConfigTest.java
old mode 100644
new mode 100755
index 33e82043..b22e421
--- a/tests/tests/graphics/src/android/opengl/cts/EglConfigTest.java
+++ b/tests/tests/graphics/src/android/opengl/cts/EglConfigTest.java
@@ -63,6 +63,10 @@
             EglConfigCtsActivity activity = launchActivity("android.graphics.cts",
                     EglConfigCtsActivity.class, extras);
             activity.waitToFinishDrawing();
+
+            // TODO(b/30948621): Remove the sleep below once b/30948621 is fixed.
+            Thread.sleep(500);
+
             activity.finish();
             mInstrumentation.waitForIdleSync();
         }