Fix regression in 9c6a652a02e
String.replaceAll(String, String) isn't in-place!
This commit is contained in:
parent
45ab80bb29
commit
869662152a
@ -70,9 +70,9 @@ public class WifiStateChangeService extends Service {
|
|||||||
(ipAddress >> 16 & 0xff),
|
(ipAddress >> 16 & 0xff),
|
||||||
(ipAddress >> 24 & 0xff));
|
(ipAddress >> 24 & 0xff));
|
||||||
|
|
||||||
FDroidApp.ssid = wifiInfo.getSSID();
|
final String ssid = wifiInfo.getSSID();
|
||||||
if (FDroidApp.ssid != null) {
|
if (ssid != null) {
|
||||||
FDroidApp.ssid.replaceAll("^\"(.*)\"$", "$1");
|
FDroidApp.ssid = ssid.replaceAll("^\"(.*)\"$", "$1");
|
||||||
}
|
}
|
||||||
FDroidApp.bssid = wifiInfo.getBSSID();
|
FDroidApp.bssid = wifiInfo.getBSSID();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user