Explorar o código

App Delegate: push passcode validation vc before leaving the active state so we don't leak the library contents to the multitasking view

Felix Paul Kühne %!s(int64=11) %!d(string=hai) anos
pai
achega
46f16c6738
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Sources/VLCAppDelegate.m

+ 1 - 0
Sources/VLCAppDelegate.m

@@ -156,6 +156,7 @@
 - (void)applicationWillResignActive:(UIApplication *)application
 {
     self.passcodeValidated = NO;
+    [self validatePasscode];
     [[MLMediaLibrary sharedMediaLibrary] applicationWillExit];
 }