Explorar el 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 hace 11 años
padre
commit
46f16c6738
Se han modificado 1 ficheros con 1 adiciones y 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];
 }