mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
Remove iOS7 API check
Reviewed By: shergin Differential Revision: D4551186 fbshipit-source-id: ab5ec3c01bbfe0faca833960431a9739cbc1ea44
This commit is contained in:
parent
7686274e13
commit
4695508826
@ -217,11 +217,7 @@ static NSThread *newJavaScriptThread(void)
|
||||
selector:@selector(runRunLoopThread)
|
||||
object:nil];
|
||||
javaScriptThread.name = RCTJSCThreadName;
|
||||
if ([javaScriptThread respondsToSelector:@selector(setQualityOfService:)]) {
|
||||
[javaScriptThread setQualityOfService:NSOperationQualityOfServiceUserInteractive];
|
||||
} else {
|
||||
javaScriptThread.threadPriority = [NSThread mainThread].threadPriority;
|
||||
}
|
||||
javaScriptThread.qualityOfService = NSOperationQualityOfServiceUserInteractive;
|
||||
[javaScriptThread start];
|
||||
return javaScriptThread;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user