mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Automated Code Change
PiperOrigin-RevId: 896829185
This commit is contained in:
@@ -30,9 +30,6 @@ objc_library(
|
||||
]) + [
|
||||
"Source/GNSCentral.h",
|
||||
],
|
||||
copts = [
|
||||
"-Wno-enum-compare", # TODO(b/418286948): Remove this when the error is fixed.
|
||||
],
|
||||
deps = [
|
||||
":Shared",
|
||||
"//internal/platform/implementation/apple/Log:GNCLogger",
|
||||
@@ -51,9 +48,6 @@ objc_library(
|
||||
]) + [
|
||||
"Source/GNSPeripheral.h",
|
||||
],
|
||||
copts = [
|
||||
"-Wno-enum-compare", # TODO(b/418286948): Remove this when the error is fixed.
|
||||
],
|
||||
deps = [
|
||||
":Shared",
|
||||
"//internal/platform/implementation/apple/Log:GNCLogger",
|
||||
|
||||
+1
-1
@@ -371,7 +371,7 @@ static NSTimeInterval gKBTCrashLoopMaxTimeBetweenResetting = 15.f;
|
||||
}
|
||||
|
||||
- (void)updateBTCrashLoopHeuristic {
|
||||
NSAssert(_cbPeripheralManager.state == CBCentralManagerStateResetting, @"Unexpected CB state %@",
|
||||
NSAssert(_cbPeripheralManager.state == CBManagerStateResetting, @"Unexpected CB state %@",
|
||||
CBManagerStateString(_cbPeripheralManager.state));
|
||||
NSDate *now = [NSDate date];
|
||||
if ([now timeIntervalSinceDate:_btCrashLastResettingDate] >
|
||||
|
||||
Reference in New Issue
Block a user