OSDN Git Service

Fix crash for tether with quotes in SSID
authorIrfan Sheriff <isheriff@google.com>
Mon, 17 May 2010 19:46:03 +0000 (12:46 -0700)
committerIrfan Sheriff <isheriff@google.com>
Mon, 17 May 2010 20:20:39 +0000 (13:20 -0700)
commit18dc7ea709bce68b44ed4fd6f8f65308c3b9101b
tree0b6c7c9f8ae60d2ddb8885d2abd5c54eb1d5b021
parent8c81257f70fabeaa505e292bd0c2226dd5eefc4c
Fix crash for tether with quotes in SSID

Multiple quotes cause havoc with netd interaction right now.
The solution is to revert the changes for WifiConfiguration on
Access Point side done in Change I0f1e508b and remove all quotes
in the SSID.

Essentially a low risk one line change on top of the revert.

We dont expose API for WifiConfiguration on AP side. This solution
essentially means we treat SSID in WifiConfiguration on AP side
differently. When we do expose things, we should make things consistent.

Change-Id: I0a7e5074b83ace743fc843ee61c1ff86cde8267f
src/com/android/settings/wifi/WifiApDialog.java
src/com/android/settings/wifi/WifiApEnabler.java
src/com/android/settings/wifi/WifiApSettings.java