diff options
author | Zoltan Szatmary-Ban <szatmz@google.com> | 2014-08-07 13:42:27 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-07 12:44:12 +0000 |
commit | 138b324d5db09cff27e43c8ee3614def01630013 (patch) | |
tree | fae8148a4dd4018a72498c3e712ec904d9a04c03 /wifi/java/android/net | |
parent | 0f5efe0b440832f6dea37b4381f9e4ebafd9bcad (diff) | |
parent | 678e3ecc937c00969830700dffb42fb1ee232f7c (diff) | |
download | frameworks_base-138b324d5db09cff27e43c8ee3614def01630013.zip frameworks_base-138b324d5db09cff27e43c8ee3614def01630013.tar.gz frameworks_base-138b324d5db09cff27e43c8ee3614def01630013.tar.bz2 |
Merge "Revert "Update Trusted Credentials screen in settings"" into lmp-dev
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 b3b013e..b9b17eb 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; @@ -352,6 +351,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; |