Rename openGotoActivity to openAndroidActivity

This commit is contained in:
Gabriel Calero 2018-04-19 14:33:38 -03:00
parent c8fe45eb8f
commit a0b5d9a78d
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ JNIEXPORT void Java_io_highfidelity_hifiinterface_InterfaceActivity_nativeOnCrea
QObject::connect(&AndroidHelper::instance(), &AndroidHelper::androidActivityRequested, [](const QString& a) {
QAndroidJniObject string = QAndroidJniObject::fromString(a);
__activity.callMethod<void>("openGotoActivity", "(Ljava/lang/String;)V", string.object<jstring>());
__activity.callMethod<void>("openAndroidActivity", "(Ljava/lang/String;)V", string.object<jstring>());
});
}

View file

@ -197,7 +197,7 @@ public class InterfaceActivity extends QtActivity {
nativeGoBackFromAndroidActivity();
}
public void openGotoActivity(String activityName) {
public void openAndroidActivity(String activityName) {
switch (activityName) {
case "Home": {
Intent intent = new Intent(this, HomeActivity.class);