diff --git a/shell/platform/tizen/flutter_tizen.cc b/shell/platform/tizen/flutter_tizen.cc index 5b16cfa9d8b43..c8408a94337b4 100644 --- a/shell/platform/tizen/flutter_tizen.cc +++ b/shell/platform/tizen/flutter_tizen.cc @@ -34,7 +34,7 @@ FlutterWindowControllerRef FlutterCreateWindow( return state.release(); } -void FlutterDestoryWindow(FlutterWindowControllerRef controller) { +void FlutterDestroyWindow(FlutterWindowControllerRef controller) { if (controller->engine) { controller->engine->StopEngine(); } @@ -164,11 +164,6 @@ void FlutterNotifyLowMemoryWarning(FlutterWindowControllerRef controller) { } } -void FlutterRotateWindow(FlutterWindowControllerRef controller, - int32_t degree) { - FT_LOGW("Deprecated API. Use SystemChrome.setPreferredOrientations instead."); -} - int64_t FlutterRegisterExternalTexture( FlutterTextureRegistrarRef texture_registrar) { FT_LOGD("FlutterDesktopRegisterExternalTexture"); diff --git a/shell/platform/tizen/public/flutter_tizen.h b/shell/platform/tizen/public/flutter_tizen.h index 7c09b327a6c0a..69236a5cacdfa 100644 --- a/shell/platform/tizen/public/flutter_tizen.h +++ b/shell/platform/tizen/public/flutter_tizen.h @@ -60,7 +60,7 @@ FLUTTER_EXPORT FlutterDesktopPluginRegistrarRef FlutterDesktopGetPluginRegistrar(FlutterWindowControllerRef controller, const char* plugin_name); -FLUTTER_EXPORT void FlutterDestoryWindow(FlutterWindowControllerRef controller); +FLUTTER_EXPORT void FlutterDestroyWindow(FlutterWindowControllerRef controller); FLUTTER_EXPORT bool FlutterRunsPrecompiledCode(); @@ -82,9 +82,6 @@ FLUTTER_EXPORT void FlutterNotifyAppIsPaused( FLUTTER_EXPORT void FlutterNotifyAppIsDetached( FlutterWindowControllerRef controller); -FLUTTER_EXPORT void FlutterRotateWindow(FlutterWindowControllerRef controller, - int32_t degree); - #if defined(__cplusplus) } // extern "C" #endif