浏览代码

Merge branch 'master' of https://git.tk.informatik.tu-darmstadt.de/scm-ssi-student-hostagev2

Alexander Brakowski 10 年之前
父节点
当前提交
d542844fb0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/de/tudarmstadt/informatik/hostage/ui2/fragment/ServicesFragment.java

+ 2 - 1
src/de/tudarmstadt/informatik/hostage/ui2/fragment/ServicesFragment.java

@@ -102,8 +102,9 @@ public class ServicesFragment extends Fragment {
             if (MainActivity.getInstance().getHostageService().hasRunningListeners()) {
                 setStateActive();
             }
+            String ssid = mConnectionInfo.getString(getString(R.string.connection_info_ssid), "");
 
-            mServicesTextName.setText(HelperUtils.getSSID(getActivity()));
+            mServicesTextName.setText(ssid.substring(1,ssid.length()-1));
         }
 
     }