@@ -64,8 +64,7 @@ namespace nbl::ui
64
64
ctx.framework = framework.get ();
65
65
nbl::ui::IWindow::SCreationParams params;
66
66
params.callback = nullptr ;
67
- auto caller = core::make_smart_refctd_ptr<nbl::system::CSystemCallerPOSIX>();
68
- auto system = core::make_smart_refctd_ptr<nbl::system::CSystemAndroid>(std::move (caller), app->activity , env, APKResourcesPath);
67
+ auto system = core::make_smart_refctd_ptr<nbl::system::CSystemAndroid>(app->activity , env, APKResourcesPath);
69
68
framework->setSystem (std::move (system));
70
69
// if (app->savedState != nullptr) {
71
70
// ctx.state = (nbl::system::CApplicationAndroid::SSavedState*)app->savedState;
@@ -110,8 +109,7 @@ namespace nbl::ui
110
109
app->userData = &ctx;
111
110
auto framework = nbl::core::make_smart_refctd_ptr<android_app_class>(app, env, APKResourcesPath, privateOutputCWD, sharedInputCWD, sharedOutputCWD);
112
111
ctx.framework = framework.get ();
113
- auto caller = core::make_smart_refctd_ptr<nbl::system::CSystemCallerPOSIX>();
114
- auto system = core::make_smart_refctd_ptr<nbl::system::CSystemAndroid>(std::move (caller), app->activity , env, APKResourcesPath);
112
+ auto system = core::make_smart_refctd_ptr<nbl::system::CSystemAndroid>(app->activity , env, APKResourcesPath);
115
113
framework->setSystem (std::move (system));
116
114
// if (app->savedState != nullptr) {
117
115
// ctx.state = (nbl::system::CApplicationAndroid::SSavedState*)app->savedState;
0 commit comments