Fix typo in local variable name

Change-Id: I35f55f993274d9575a3906c1d553e7b04638efe3
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
Nobuaki Sukegawa 2014-12-09 23:44:45 +09:00
parent 2e8bec9e4b
commit a0575a85b7

View File

@ -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);