From 2637a8329f33f6a2e4aaf1fcf4cead1e07ccccf7 Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Sat, 31 Oct 2026 02:03:56 +0400 Subject: [PATCH] test(runtime): add the Log.e overload with a throwable to the test shim The first-install fallback logs the failed fetch with its exception, and the shim only had the two-argument form, so the test hit NoSuchMethodError. --- runtime/src/test/java/android/util/Log.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/src/test/java/android/util/Log.java b/runtime/src/test/java/android/util/Log.java index dd394e3f..12627f4d 100644 --- a/runtime/src/test/java/android/util/Log.java +++ b/runtime/src/test/java/android/util/Log.java @@ -22,5 +22,10 @@ public class Log { return 0; } + public static int e(String tag, String msg, Throwable tr) { + System.out.println("ERROR: " + tag + ": " + msg + ": " + tr); + return 0; + } + // add other methods if required... } \ No newline at end of file