mirror of
https://github.com/overte-org/overte.git
synced 2025-04-06 18:53:16 +02:00
Rename openGotoActivity to openAndroidActivity
This commit is contained in:
parent
c8fe45eb8f
commit
a0b5d9a78d
2 changed files with 2 additions and 2 deletions
|
@ -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>());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue