Hide Voicemail APIs

Bug:20162722
Change-Id: Ie405b077a9598f16ff19adfa09df3217f342cc1e
This commit is contained in:
Jay Shrauner
2015-04-14 23:31:13 -07:00
parent b744e47959
commit d53f3634a3
3 changed files with 1 additions and 51 deletions

View File

@@ -31850,22 +31850,6 @@ package android.telecom {
field public final int supportedRouteMask;
}
public class AuthenticatorService extends android.app.Service {
ctor public AuthenticatorService();
method public android.os.IBinder onBind(android.content.Intent);
}
public class AuthenticatorService.Authenticator extends android.accounts.AbstractAccountAuthenticator {
ctor public AuthenticatorService.Authenticator(android.content.Context);
method public android.os.Bundle addAccount(android.accounts.AccountAuthenticatorResponse, java.lang.String, java.lang.String, java.lang.String[], android.os.Bundle) throws android.accounts.NetworkErrorException;
method public android.os.Bundle confirmCredentials(android.accounts.AccountAuthenticatorResponse, android.accounts.Account, android.os.Bundle) throws android.accounts.NetworkErrorException;
method public android.os.Bundle editProperties(android.accounts.AccountAuthenticatorResponse, java.lang.String);
method public android.os.Bundle getAuthToken(android.accounts.AccountAuthenticatorResponse, android.accounts.Account, java.lang.String, android.os.Bundle) throws android.accounts.NetworkErrorException;
method public java.lang.String getAuthTokenLabel(java.lang.String);
method public android.os.Bundle hasFeatures(android.accounts.AccountAuthenticatorResponse, android.accounts.Account, java.lang.String[]) throws android.accounts.NetworkErrorException;
method public android.os.Bundle updateCredentials(android.accounts.AccountAuthenticatorResponse, android.accounts.Account, java.lang.String, android.os.Bundle) throws android.accounts.NetworkErrorException;
}
public final class Call {
method public void addListener(android.telecom.Call.Listener);
method public void answer(int);
@@ -32390,36 +32374,6 @@ package android.telecom {
field public static final int TX_ENABLED = 1; // 0x1
}
public class Voicemail implements android.os.Parcelable {
method public static android.telecom.Voicemail.Builder createForInsertion(long, java.lang.String);
method public static android.telecom.Voicemail.Builder createForUpdate(long, java.lang.String);
method public int describeContents();
method public long getDuration();
method public long getId();
method public java.lang.String getNumber();
method public java.lang.String getSourceData();
method public java.lang.String getSourcePackage();
method public long getTimestampMillis();
method public android.net.Uri getUri();
method public boolean hasContent();
method public boolean isRead();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.telecom.Voicemail> CREATOR;
}
public static class Voicemail.Builder {
method public android.telecom.Voicemail build();
method public android.telecom.Voicemail.Builder setDuration(long);
method public android.telecom.Voicemail.Builder setHasContent(boolean);
method public android.telecom.Voicemail.Builder setId(long);
method public android.telecom.Voicemail.Builder setIsRead(boolean);
method public android.telecom.Voicemail.Builder setNumber(java.lang.String);
method public android.telecom.Voicemail.Builder setSourceData(java.lang.String);
method public android.telecom.Voicemail.Builder setSourcePackage(java.lang.String);
method public android.telecom.Voicemail.Builder setTimestamp(long);
method public android.telecom.Voicemail.Builder setUri(android.net.Uri);
}
}
package android.telephony {

View File

@@ -19,7 +19,6 @@ import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.NetworkErrorException;
import android.annotation.SystemApi;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
@@ -32,7 +31,6 @@ import android.os.IBinder;
*
* @hide
*/
@SystemApi
public class AuthenticatorService extends Service {
private static Authenticator mAuthenticator;

View File

@@ -16,7 +16,6 @@
package android.telecom;
import android.annotation.SystemApi;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
@@ -26,7 +25,6 @@ import android.os.Parcelable;
*
* @hide
*/
@SystemApi
public class Voicemail implements Parcelable {
private final Long mTimestamp;
private final String mNumber;
@@ -277,4 +275,4 @@ public class Voicemail implements Parcelable {
mIsRead = in.readInt() > 0 ? true : false;
mHasContent = in.readInt() > 0 ? true : false;
}
}
}