Commit ce07330f authored by Felix Paul Kühne's avatar Felix Paul Kühne

App Delegate: correctly initialize MLKit so its crash preventer can work (close #9089)

parent d6e95ed9
......@@ -53,6 +53,9 @@
// Init the HTTP Server
self.uploadController = [[VLCHTTPUploaderController alloc] init];
// enable crash preventer
[[MLMediaLibrary sharedMediaLibrary] applicationWillStart];
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
_playlistViewController = [[VLCPlaylistViewController alloc] init];
......@@ -128,6 +131,11 @@
return url;
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
[[MLMediaLibrary sharedMediaLibrary] applicationWillStart];
}
- (void)applicationWillResignActive:(UIApplication *)application
{
[[MLMediaLibrary sharedMediaLibrary] applicationWillExit];
......
2-next:
-------
* Improved overall stability (#8989, #9031, #9089, #9092)
* Add support for subtitles in non-western languages (#8991)
* Add Bonjour announcement for the WiFi Uploader's website (#8741)
* Device no longer goes to sleep during media downloads (#9062)
* Improved video output on external screens (#9079)
* Various stability improvements (#8989, #9031, #9092)
* New translations to Bosnian, Catalan, Galician, Marathi
2.0.2:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment