Commit d4880b5d authored by Felix Paul Kühne's avatar Felix Paul Kühne

local network: disable SAP discovery as the module wasn't relicensed in time for release

parent c283f254
......@@ -41,8 +41,6 @@ Local network:
* Added support for downloading from UPnP multimedia servers
* Added cover-art and duration to UPnP server item lists
* UPnP stability improvements
* Added support for media broadcasted with the Session Announcement Protocol
(SAP) information on the local network. Requires iOS 7 or later. (#9429)
* Fix incorrect displayed size for files stored on UPnP multimedia servers
larger than 2147.48 MB (#9641)
* Improved WiFi Upload reliability, especially when uploading multiple
......
......@@ -76,9 +76,9 @@
{
[super viewDidLoad];
if (SYSTEM_RUNS_IOS7_OR_LATER)
/* if (SYSTEM_RUNS_IOS7_OR_LATER)
_sectionHeaderTexts = @[@"Universal Plug'n'Play (UPNP)", @"File Transfer Protocol (FTP)", @"Network Streams (SAP)"];
else
else*/
_sectionHeaderTexts = @[@"Universal Plug'n'Play (UPNP)", @"File Transfer Protocol (FTP)"];
_backToMenuButton = [UIBarButtonItem themedRevealMenuButtonWithTarget:self andSelector:@selector(goBack:)];
......@@ -442,8 +442,7 @@
- (void)_startSAPDiscovery
{
if (!SYSTEM_RUNS_IOS7_OR_LATER)
return;
return;
if (_reachability.currentReachabilityStatus != ReachableViaWiFi)
return;
......@@ -454,8 +453,7 @@
- (void)_stopSAPDiscovery
{
if (!SYSTEM_RUNS_IOS7_OR_LATER)
return;
return;
_sapDiscoverer = nil;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment