Bläddra i källkod

small changes in services fragment: how to display the correct ssid

Daniel Lazar 10 år sedan
förälder
incheckning
e79f9ae9dd

+ 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));
         }
 
     }