From aa78127087804c19966f8c21541441c2a4a398b0 Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Mon, 24 Mar 2025 17:55:46 +0100 Subject: [PATCH] small fixs --- test_apks/dynloading/Makefile | 2 +- .../com/example/theseus/dynloading/MainActivity.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test_apks/dynloading/Makefile b/test_apks/dynloading/Makefile index e6a946b..bcaa9fe 100644 --- a/test_apks/dynloading/Makefile +++ b/test_apks/dynloading/Makefile @@ -4,7 +4,7 @@ JAVA_PATH=/usr/lib/jvm/java-17-openjdk/bin JAVAC=/usr/lib/jvm/java-17-openjdk/bin/javac JAR=/usr/lib/jvm/java-17-openjdk/bin/jar PYTHON=python3 -APP=test_reflection +APP=test_dynloading PACKAGE=com.example.theseus.dynloading MAIN_ACTIVITY=MainActivity diff --git a/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java b/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java index f9bb1cd..06da369 100644 --- a/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java +++ b/test_apks/dynloading/java/classes/com/example/theseus/dynloading/MainActivity.java @@ -170,7 +170,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "MainAPK"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -197,7 +197,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "A"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -224,7 +224,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "MainAPK"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); } @@ -251,7 +251,7 @@ public class MainActivity extends Activity { //Utils.popup(this, "Result", id); String expectedId = "A"; if (id.equals(expectedId)) { - Utils.popup(this, "OK", "The right class was loaded"); + Utils.popup(this, "OK", "The right class was loaded: " + id); } else { Utils.popup(this, "BAD", "The wrong class was loaded: id = " + id + " expected id = " + expectedId); }