cmsdk: Unhide the Concierge.

Change-Id: I82adee7f9acb67623725acea723b52e08bab7311
This commit is contained in:
Adnan Begovic 2016-04-01 10:55:04 -07:00 committed by Gerrit Code Review
parent d549053b2d
commit df4486fb0e
3 changed files with 25 additions and 2 deletions

View File

@ -585,6 +585,16 @@ package cyanogenmod.os {
field public static final int ELDERBERRY = 5; // 0x5
}
public final class Concierge {
method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
}
public static final class Concierge.ParcelInfo {
method public void complete();
method public int getParcelVersion();
}
}
package cyanogenmod.platform {

View File

@ -47,8 +47,6 @@ import cyanogenmod.os.Build.CM_VERSION_CODES;
* // Complete the process
* outgoingParcelInfo.complete();
* </pre>
*
* {@hide} // Unhide?
*/
public final class Concierge {
@ -92,6 +90,11 @@ public final class Concierge {
return new ParcelInfo(parcel, PARCELABLE_VERSION);
}
/**
* Parcel header info specific to the Parcel object that is passed in via
* {@link #prepareParcel(Parcel)} or {@link #receiveParcel(Parcel)}. The exposed method
* of {@link #getParcelVersion()} gets the api level of the parcel object.
*/
public final static class ParcelInfo {
private Parcel mParcel;
private int mParcelableVersion;

View File

@ -585,6 +585,16 @@ package cyanogenmod.os {
field public static final int ELDERBERRY = 5; // 0x5
}
public final class Concierge {
method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
}
public static final class Concierge.ParcelInfo {
method public void complete();
method public int getParcelVersion();
}
}
package cyanogenmod.platform {