OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 #if defined(NDEBUG) | 36 #if defined(NDEBUG) |
37 // In debug builds the default level is LS_INFO and in non-debug builds it is | 37 // In debug builds the default level is LS_INFO and in non-debug builds it is |
38 // disabled. Continue to log to console in non-debug builds, but only | 38 // disabled. Continue to log to console in non-debug builds, but only |
39 // warnings and errors. | 39 // warnings and errors. |
40 RTCSetMinDebugLogLevel(kRTCLoggingSeverityWarning); | 40 RTCSetMinDebugLogLevel(kRTCLoggingSeverityWarning); |
41 #endif | 41 #endif |
42 | 42 |
43 return YES; | 43 return YES; |
44 } | 44 } |
45 | 45 |
46 - (void)applicationWillResignActive:(UIApplication *)application { | |
47 ARDMainViewController *viewController = | |
48 (ARDMainViewController *)_window.rootViewController; | |
49 [viewController applicationWillResignActive:application]; | |
50 } | |
51 | |
52 - (void)applicationWillTerminate:(UIApplication *)application { | 46 - (void)applicationWillTerminate:(UIApplication *)application { |
53 RTCShutdownInternalTracer(); | 47 RTCShutdownInternalTracer(); |
54 RTCCleanupSSL(); | 48 RTCCleanupSSL(); |
55 } | 49 } |
56 | 50 |
57 @end | 51 @end |
OLD | NEW |