Merge change Icaf932d0 into eclair
* changes:
Fix code example in Parcelable javadoc
diff --git a/core/java/android/os/Parcelable.java b/core/java/android/os/Parcelable.java
index aee1e0b..0a4b60f 100644
--- a/core/java/android/os/Parcelable.java
+++ b/core/java/android/os/Parcelable.java
@@ -28,13 +28,17 @@
* <pre>
* public class MyParcelable implements Parcelable {
* private int mData;
- *
+ *
+ * public int describeContents() {
+ * return 0;
+ * }
+ *
* public void writeToParcel(Parcel out, int flags) {
* out.writeInt(mData);
* }
*
- * public static final Parcelable.Creator<MyParcelable> CREATOR
- * = new Parcelable.Creator<MyParcelable>() {
+ * public static final Parcelable.Creator<MyParcelable> CREATOR
+ * = new Parcelable.Creator<MyParcelable>() {
* public MyParcelable createFromParcel(Parcel in) {
* return new MyParcelable(in);
* }
@@ -42,7 +46,7 @@
* public MyParcelable[] newArray(int size) {
* return new MyParcelable[size];
* }
- * }
+ * };
*
* private MyParcelable(Parcel in) {
* mData = in.readInt();