compare string descr instead of type
This commit is contained in:
parent
aa78127087
commit
982f32caf3
3 changed files with 107 additions and 9 deletions
|
|
@ -195,6 +195,7 @@ public class MainActivity extends Activity {
|
|||
Method mth = clz.getMethod("getColliderId");
|
||||
String id = (String)mth.invoke(null);
|
||||
//Utils.popup(this, "Result", id);
|
||||
Utils.popup(this, "TEST", clz.descriptorString());
|
||||
String expectedId = "A";
|
||||
if (id.equals(expectedId)) {
|
||||
Utils.popup(this, "OK", "The right class was loaded: " + id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue