/** * Write a VUserHandle to a Parcel, handling null pointers. Must be * read with {@link #readFromParcel(Parcel)}. * * @param h The VUserHandle to be written. * @param out The Parcel in which the VUserHandle will be placed. * * @see #readFromParcel(Parcel) */ public static void writeToParcel(VUserHandle h, Parcel out) { if (h != null) { h.writeToParcel(out, 0); } else { out.writeInt(USER_NULL); } }
/** * Write a VUserHandle to a Parcel, handling null pointers. Must be * read with {@link #readFromParcel(Parcel)}. * * @param h The VUserHandle to be written. * @param out The Parcel in which the VUserHandle will be placed. * * @see #readFromParcel(Parcel) */ public static void writeToParcel(VUserHandle h, Parcel out) { if (h != null) { h.writeToParcel(out, 0); } else { out.writeInt(USER_NULL); } }
/** * Write a VUserHandle to a Parcel, handling null pointers. Must be * read with {@link #readFromParcel(Parcel)}. * * @param h The VUserHandle to be written. * @param out The Parcel in which the VUserHandle will be placed. * * @see #readFromParcel(Parcel) */ public static void writeToParcel(VUserHandle h, Parcel out) { if (h != null) { h.writeToParcel(out, 0); } else { out.writeInt(USER_NULL); } }