Merge change I9efe265f into eclair
* changes: unhide AccountManagerResponse
This commit is contained in:
@@ -14970,6 +14970,71 @@
|
|||||||
>
|
>
|
||||||
</method>
|
</method>
|
||||||
</interface>
|
</interface>
|
||||||
|
<class name="AccountManagerResponse"
|
||||||
|
extends="java.lang.Object"
|
||||||
|
abstract="false"
|
||||||
|
static="false"
|
||||||
|
final="false"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
<implements name="android.os.Parcelable">
|
||||||
|
</implements>
|
||||||
|
<method name="describeContents"
|
||||||
|
return="int"
|
||||||
|
abstract="false"
|
||||||
|
native="false"
|
||||||
|
synchronized="false"
|
||||||
|
static="false"
|
||||||
|
final="false"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</method>
|
||||||
|
<method name="onError"
|
||||||
|
return="void"
|
||||||
|
abstract="false"
|
||||||
|
native="false"
|
||||||
|
synchronized="false"
|
||||||
|
static="false"
|
||||||
|
final="false"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
<parameter name="errorCode" type="int">
|
||||||
|
</parameter>
|
||||||
|
<parameter name="errorMessage" type="java.lang.String">
|
||||||
|
</parameter>
|
||||||
|
</method>
|
||||||
|
<method name="onResult"
|
||||||
|
return="void"
|
||||||
|
abstract="false"
|
||||||
|
native="false"
|
||||||
|
synchronized="false"
|
||||||
|
static="false"
|
||||||
|
final="false"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
<parameter name="result" type="android.os.Bundle">
|
||||||
|
</parameter>
|
||||||
|
</method>
|
||||||
|
<method name="writeToParcel"
|
||||||
|
return="void"
|
||||||
|
abstract="false"
|
||||||
|
native="false"
|
||||||
|
synchronized="false"
|
||||||
|
static="false"
|
||||||
|
final="false"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
<parameter name="dest" type="android.os.Parcel">
|
||||||
|
</parameter>
|
||||||
|
<parameter name="flags" type="int">
|
||||||
|
</parameter>
|
||||||
|
</method>
|
||||||
|
</class>
|
||||||
<class name="AccountsException"
|
<class name="AccountsException"
|
||||||
extends="java.lang.Exception"
|
extends="java.lang.Exception"
|
||||||
abstract="false"
|
abstract="false"
|
||||||
|
|||||||
@@ -22,16 +22,17 @@ import android.os.Parcelable;
|
|||||||
import android.os.RemoteException;
|
import android.os.RemoteException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object that wraps calls to an {@link android.accounts.IAccountManagerResponse} object.
|
* Used by Account Authenticators to return a response.
|
||||||
* @hide
|
|
||||||
*/
|
*/
|
||||||
public class AccountManagerResponse implements Parcelable {
|
public class AccountManagerResponse implements Parcelable {
|
||||||
private IAccountManagerResponse mResponse;
|
private IAccountManagerResponse mResponse;
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
public AccountManagerResponse(IAccountManagerResponse response) {
|
public AccountManagerResponse(IAccountManagerResponse response) {
|
||||||
mResponse = response;
|
mResponse = response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
public AccountManagerResponse(Parcel parcel) {
|
public AccountManagerResponse(Parcel parcel) {
|
||||||
mResponse =
|
mResponse =
|
||||||
IAccountManagerResponse.Stub.asInterface(parcel.readStrongBinder());
|
IAccountManagerResponse.Stub.asInterface(parcel.readStrongBinder());
|
||||||
@@ -53,14 +54,17 @@ public class AccountManagerResponse implements Parcelable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
public int describeContents() {
|
public int describeContents() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
public void writeToParcel(Parcel dest, int flags) {
|
public void writeToParcel(Parcel dest, int flags) {
|
||||||
dest.writeStrongBinder(mResponse.asBinder());
|
dest.writeStrongBinder(mResponse.asBinder());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @hide */
|
||||||
public static final Creator<AccountManagerResponse> CREATOR =
|
public static final Creator<AccountManagerResponse> CREATOR =
|
||||||
new Creator<AccountManagerResponse>() {
|
new Creator<AccountManagerResponse>() {
|
||||||
public AccountManagerResponse createFromParcel(Parcel source) {
|
public AccountManagerResponse createFromParcel(Parcel source) {
|
||||||
|
|||||||
Reference in New Issue
Block a user