|
@@ -267,17 +267,16 @@
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:k_notificationCenter_applicationDidEnterBackground object:nil];
|
|
|
[self passcodeWithAutomaticallyPromptForBiometricValidation:false];
|
|
|
|
|
|
- if([[UIDevice currentDevice] respondsToSelector:@selector(isMultitaskingSupported)]) {
|
|
|
+ /*
|
|
|
+ __block UIBackgroundTaskIdentifier background_task;
|
|
|
|
|
|
- __block UIBackgroundTaskIdentifier background_task;
|
|
|
-
|
|
|
- background_task = [application beginBackgroundTaskWithExpirationHandler:^ {
|
|
|
+ background_task = [application beginBackgroundTaskWithExpirationHandler:^ {
|
|
|
|
|
|
- //Clean up code. Tell the system that we are done.
|
|
|
- [application endBackgroundTask: background_task];
|
|
|
- background_task = UIBackgroundTaskInvalid;
|
|
|
- }];
|
|
|
- }
|
|
|
+ //Clean up code. Tell the system that we are done.
|
|
|
+ [application endBackgroundTask: background_task];
|
|
|
+ background_task = UIBackgroundTaskInvalid;
|
|
|
+ }];
|
|
|
+ */
|
|
|
}
|
|
|
|
|
|
//
|