Change-Id: I3a4575b03575a4e6d3367ded30b6208713e12d95
Signed-off-by: Akash Kumar <akash1.kumar@samsung.com>
private DeviceCollection available;\r
public APSource()\r
{\r
- available = new DeviceCollection("Available networks");\r
+ available = new DeviceCollection("");\r
this.Add(available);\r
}\r
\r
+ public void UpdateGroupTitle(string title)\r
+ {\r
+ available.Title = title;\r
+ }\r
+\r
public void UpdateScanList(List<AP> apList)\r
{\r
available.UpdateScanList(apList);\r
mWifi = new WiFi();
mApSource = new APSource();
+ bool? active = GetWifiState();
+ if (active.HasValue && active.Value)
+ {
+ mApSource.UpdateGroupTitle(Resources.IDS_ST_HEADER_AVAILABLE_NETWORKS);
+ }
ScanAP();
}
await mWifi.Activate();
}
/* TODO: auto connect */
+ mApSource.UpdateGroupTitle(Resources.IDS_ST_HEADER_AVAILABLE_NETWORKS);
ScanAP();
}
else
await mWifi.Deactivate();
}
mApSource.RemoveScanList();
+ mApSource.UpdateGroupTitle("");
}
}
private async void ScanAP()
{
+ Debug("");
if (!GetWifiState().HasValue)
{
return;