diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index e786fd44fd..a0b840e04e 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -75,10 +75,6 @@ ScreenManager *screenManager; std::string config_filename; std::string game_title; -#ifdef IOS -bool isJailed; -#endif - recursive_mutex pendingMutex; static bool isMessagePending; static std::string pendingMessage; @@ -203,12 +199,6 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co #elif defined(IOS) VFSRegister("", new DirectoryAssetReader(external_directory)); user_data_path += "/"; - - // Detect Jailbreak(Sandboxed or not) - if(strlen(external_directory) > 30) - { - isJailed = true; - } #elif defined(__APPLE__) char program_path[4090]; uint32_t program_path_size = sizeof(program_path);