Jelajahi Sumber

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 11 tahun lalu
induk
melakukan
46f16c6738
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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];
 }