Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/129689
Change subject: Add missing CreateAccountSuccessResult ...................................................................... Add missing CreateAccountSuccessResult Change-Id: Icb3cf4d5ef657c12134f30f93c70efcb830e1516 --- A wikipedia/src/main/java/org/wikipedia/createaccount/CreateAccountSuccessResult.java 1 file changed, 44 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia refs/changes/89/129689/1 diff --git a/wikipedia/src/main/java/org/wikipedia/createaccount/CreateAccountSuccessResult.java b/wikipedia/src/main/java/org/wikipedia/createaccount/CreateAccountSuccessResult.java new file mode 100644 index 0000000..c563fe2 --- /dev/null +++ b/wikipedia/src/main/java/org/wikipedia/createaccount/CreateAccountSuccessResult.java @@ -0,0 +1,44 @@ +package org.wikipedia.createaccount; + +import android.os.*; + +public class CreateAccountSuccessResult extends CreateAccountResult implements Parcelable { + private final String username; + + public CreateAccountSuccessResult(String username) { + super("Success"); + this.username = username; + } + + public String getUsername() { + return username; + } + + @Override + public int describeContents() { + return 0; + } + + @Override + public void writeToParcel(Parcel parcel, int i) { + super.writeToParcel(parcel, i); + parcel.writeString(username); + } + + protected CreateAccountSuccessResult(Parcel in) { + super(in); + username = in.readString(); + } + + public static final Creator<CreateAccountSuccessResult> CREATOR + = new Creator<CreateAccountSuccessResult>() { + public CreateAccountSuccessResult createFromParcel(Parcel in) { + return new CreateAccountSuccessResult(in); + } + + public CreateAccountSuccessResult[] newArray(int size) { + return new CreateAccountSuccessResult[size]; + } + }; + +} -- To view, visit https://gerrit.wikimedia.org/r/129689 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb3cf4d5ef657c12134f30f93c70efcb830e1516 Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits