Fix typo in local variable name
Change-Id: I35f55f993274d9575a3906c1d553e7b04638efe3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
2e8bec9e4b
commit
a0575a85b7
@ -243,11 +243,11 @@ public class QtActivity extends Activity
|
||||
@SuppressWarnings("rawtypes")
|
||||
Class loaderClass = m_classLoader.loadClass(loaderParams.getString(LOADER_CLASS_NAME_KEY)); // load QtLoader class
|
||||
Object qtLoader = loaderClass.newInstance(); // create an instance
|
||||
Method perpareAppMethod = qtLoader.getClass().getMethod("loadApplication",
|
||||
Method prepareAppMethod = qtLoader.getClass().getMethod("loadApplication",
|
||||
Activity.class,
|
||||
ClassLoader.class,
|
||||
Bundle.class);
|
||||
if (!(Boolean)perpareAppMethod.invoke(qtLoader, this, m_classLoader, loaderParams))
|
||||
if (!(Boolean)prepareAppMethod.invoke(qtLoader, this, m_classLoader, loaderParams))
|
||||
throw new Exception("");
|
||||
|
||||
QtApplication.setQtActivityDelegate(qtLoader);
|
||||
|
Loading…
Reference in New Issue
Block a user