Merge "Hide VoicemailContract.setQuota()" into nyc-dev

This commit is contained in:
Ta-wei Yen
2016-05-20 01:00:29 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 5 deletions

View File

@@ -32954,7 +32954,6 @@ package android.provider {
public static final class VoicemailContract.Status implements android.provider.BaseColumns {
method public static android.net.Uri buildSourceUri(java.lang.String);
method public static void setQuota(android.content.Context, android.telecom.PhoneAccountHandle, int, int);
field public static final java.lang.String CONFIGURATION_STATE = "configuration_state";
field public static final int CONFIGURATION_STATE_CAN_BE_CONFIGURED = 2; // 0x2
field public static final int CONFIGURATION_STATE_NOT_CONFIGURED = 1; // 0x1

View File

@@ -35660,7 +35660,6 @@ package android.provider {
public static final class VoicemailContract.Status implements android.provider.BaseColumns {
method public static android.net.Uri buildSourceUri(java.lang.String);
method public static void setQuota(android.content.Context, android.telecom.PhoneAccountHandle, int, int);
field public static final java.lang.String CONFIGURATION_STATE = "configuration_state";
field public static final int CONFIGURATION_STATE_CAN_BE_CONFIGURED = 2; // 0x2
field public static final int CONFIGURATION_STATE_NOT_CONFIGURED = 1; // 0x1

View File

@@ -33030,7 +33030,6 @@ package android.provider {
public static final class VoicemailContract.Status implements android.provider.BaseColumns {
method public static android.net.Uri buildSourceUri(java.lang.String);
method public static void setQuota(android.content.Context, android.telecom.PhoneAccountHandle, int, int);
field public static final java.lang.String CONFIGURATION_STATE = "configuration_state";
field public static final int CONFIGURATION_STATE_CAN_BE_CONFIGURED = 2; // 0x2
field public static final int CONFIGURATION_STATE_NOT_CONFIGURED = 1; // 0x1

View File

@@ -514,14 +514,17 @@ public class VoicemailContract {
/**
* Amount of resource that is used by existing voicemail in the visual voicemail inbox,
* or {@link #QUOTA_UNAVAILABLE}. Unit is not specified.
* or {@link #QUOTA_UNAVAILABLE} if the quota has never been updated before. This value is
* used to inform the client the situation on the remote server. Unit is not specified.
* <P>Type: INTEGER</P>
*/
public static final String QUOTA_OCCUPIED = "quota_occupied";
/**
* Total resource in the visual voicemail inbox that can be used, or
* {@link #QUOTA_UNAVAILABLE}. Unit is not specified.
* {@link #QUOTA_UNAVAILABLE} if server either has unlimited quota or does not provide quota
* information. This value is used to inform the client the situation on the remote server.
* Unit is not specified.
* <P>Type: INTEGER</P>
*/
public static final String QUOTA_TOTAL = "quota_total";
@@ -579,6 +582,8 @@ public class VoicemailContract {
* @param accountHandle The handle for the account the source is associated with.
* @param occupied See {@link Status#QUOTA_OCCUPIED}
* @param total See {@link Status#QUOTA_TOTAL}
*
* @hide
*/
public static void setQuota(Context context, PhoneAccountHandle accountHandle, int occupied,
int total) {