diff options
author | Narayan Kamath <narayan@google.com> | 2014-08-15 12:25:52 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-08-15 12:25:52 +0000 |
commit | f75aadc028f2e79541a269bf2c74dcb3482e2ec7 (patch) | |
tree | c3f363ba74a9f6ce48ca3318b8672dea2a43ff0d /wifi/java/android/net | |
parent | 1e7bc0def8c62b91d3eb985a51bec54063ce83f5 (diff) | |
download | frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.zip frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.tar.gz frameworks_base-f75aadc028f2e79541a269bf2c74dcb3482e2ec7.tar.bz2 |
Revert "Revert "Revert "Update Trusted Credentials screen in settings"""
This reverts commit 19c8ce291e89a9ef1442a20e1feab421b11536d7.
Change-Id: Ie5a5571127311e0a29f314c0566e779cfe940b53
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r-- | wifi/java/android/net/wifi/passpoint/WifiPasspointManager.java | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/passpoint/WifiPasspointManager.java b/wifi/java/android/net/wifi/passpoint/WifiPasspointManager.java index 056f5df..b2b5310 100644 --- a/wifi/java/android/net/wifi/passpoint/WifiPasspointManager.java +++ b/wifi/java/android/net/wifi/passpoint/WifiPasspointManager.java @@ -28,7 +28,6 @@ import android.os.RemoteException; import android.util.Log; import com.android.internal.util.AsyncChannel; -import com.android.internal.util.ParcelableString; import com.android.internal.util.Protocol; import java.util.ArrayList; @@ -297,6 +296,34 @@ public class WifiPasspointManager { } + public static class ParcelableString implements Parcelable { + public String string; + + @Override + public int describeContents() { + return 0; + } + + @Override + public void writeToParcel(Parcel out, int flags) { + out.writeString(string); + } + + public static final Parcelable.Creator<ParcelableString> CREATOR = + new Parcelable.Creator<ParcelableString>() { + @Override + public ParcelableString createFromParcel(Parcel in) { + ParcelableString ret = new ParcelableString(); + ret.string = in.readString(); + return ret; + } + @Override + public ParcelableString[] newArray(int size) { + return new ParcelableString[size]; + } + }; + } + private static final int BASE = Protocol.BASE_WIFI_PASSPOINT_MANAGER; public static final int REQUEST_ANQP_INFO = BASE + 1; |