diff options
Diffstat (limited to 'api/system-removed.txt')
-rw-r--r-- | api/system-removed.txt | 103 |
1 files changed, 52 insertions, 51 deletions
diff --git a/api/system-removed.txt b/api/system-removed.txt index 21b17cbe882b..478ec2873efc 100644 --- a/api/system-removed.txt +++ b/api/system-removed.txt @@ -1,11 +1,12 @@ +// Signature format: 2.0 package android.app { public class Notification implements android.os.Parcelable { - method public static java.lang.Class<? extends android.app.Notification.Style> getNotificationStyleClass(java.lang.String); + method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); } public static final class Notification.TvExtender implements android.app.Notification.Extender { - method public deprecated java.lang.String getChannel(); + method @Deprecated public String getChannel(); } } @@ -13,8 +14,8 @@ package android.app { package android.app.admin { public class DevicePolicyManager { - method public deprecated java.lang.String getDeviceInitializerApp(); - method public deprecated android.content.ComponentName getDeviceInitializerComponent(); + method @Deprecated @Nullable public String getDeviceInitializerApp(); + method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent(); } } @@ -22,31 +23,31 @@ package android.app.admin { package android.content { public class Intent implements java.lang.Cloneable android.os.Parcelable { - field public static final deprecated java.lang.String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD"; - field public static final deprecated java.lang.String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR"; - field public static final deprecated java.lang.String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE"; - field public static final deprecated java.lang.String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator"; - field public static final deprecated java.lang.String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator"; - field public static final deprecated java.lang.String EXTRA_CSS_INDICATOR = "cssIndicator"; - field public static final deprecated java.lang.String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long"; - field public static final deprecated java.lang.String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short"; - field public static final deprecated java.lang.String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric"; - field public static final deprecated java.lang.String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology"; - field public static final deprecated java.lang.String EXTRA_DATA_REG_STATE = "dataRegState"; - field public static final deprecated java.lang.String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType"; - field public static final deprecated java.lang.String EXTRA_EMERGENCY_ONLY = "emergencyOnly"; - field public static final deprecated java.lang.String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration"; - field public static final deprecated java.lang.String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation"; - field public static final deprecated java.lang.String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost"; - field public static final deprecated java.lang.String EXTRA_MANUAL = "manual"; - field public static final deprecated java.lang.String EXTRA_NETWORK_ID = "networkId"; - field public static final deprecated java.lang.String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long"; - field public static final deprecated java.lang.String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short"; - field public static final deprecated java.lang.String EXTRA_OPERATOR_NUMERIC = "operator-numeric"; - field public static final deprecated java.lang.String EXTRA_SYSTEM_ID = "systemId"; - field public static final deprecated java.lang.String EXTRA_VOICE_RADIO_TECH = "radioTechnology"; - field public static final deprecated java.lang.String EXTRA_VOICE_REG_STATE = "voiceRegState"; - field public static final deprecated java.lang.String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType"; + field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD"; + field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR"; + field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE"; + field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator"; + field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator"; + field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator"; + field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long"; + field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short"; + field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric"; + field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology"; + field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState"; + field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType"; + field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly"; + field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration"; + field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation"; + field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost"; + field @Deprecated public static final String EXTRA_MANUAL = "manual"; + field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId"; + field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long"; + field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short"; + field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric"; + field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId"; + field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology"; + field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState"; + field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType"; } } @@ -54,7 +55,7 @@ package android.content { package android.media.tv { public final class TvInputManager { - method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo); + method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo); } public static final class TvInputManager.Hardware { @@ -65,7 +66,7 @@ package android.media.tv { package android.net.wifi { - public deprecated class BatchedScanResult implements android.os.Parcelable { + @Deprecated public class BatchedScanResult implements android.os.Parcelable { ctor public BatchedScanResult(); ctor public BatchedScanResult(android.net.wifi.BatchedScanResult); field public final java.util.List<android.net.wifi.ScanResult> scanResults; @@ -85,8 +86,8 @@ package android.os { } public final class PowerManager { - method public deprecated boolean isScreenBrightnessBoosted(); - field public static final deprecated java.lang.String ACTION_SCREEN_BRIGHTNESS_BOOST_CHANGED = "android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED"; + method @Deprecated public boolean isScreenBrightnessBoosted(); + field @Deprecated public static final String ACTION_SCREEN_BRIGHTNESS_BOOST_CHANGED = "android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED"; } } @@ -94,31 +95,31 @@ package android.os { package android.security.keystore.recovery { public final class KeyChainSnapshot implements android.os.Parcelable { - method public deprecated byte[] getTrustedHardwarePublicKey(); + method @Deprecated @NonNull public byte[] getTrustedHardwarePublicKey(); } public class RecoveryController { - method public deprecated byte[] generateAndStoreKey(java.lang.String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; - method public deprecated java.security.Key generateKey(java.lang.String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; - method public deprecated java.util.List<java.lang.String> getAliases(java.lang.String) throws android.security.keystore.recovery.InternalRecoveryServiceException; - method public deprecated android.security.keystore.recovery.KeyChainSnapshot getRecoveryData() throws android.security.keystore.recovery.InternalRecoveryServiceException; - method public deprecated int getRecoveryStatus(java.lang.String, java.lang.String) throws android.security.keystore.recovery.InternalRecoveryServiceException; - method public deprecated void initRecoveryService(java.lang.String, byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; - method public deprecated void setRecoveryStatus(java.lang.String, java.lang.String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.content.pm.PackageManager.NameNotFoundException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] generateAndStoreKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases(@Nullable String) throws android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getRecoveryData() throws android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(String, String) throws android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void initRecoveryService(@NonNull String, @NonNull byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.content.pm.PackageManager.NameNotFoundException; } public class RecoverySession implements java.lang.AutoCloseable { - method public deprecated java.util.Map<java.lang.String, byte[]> recoverKeys(byte[], java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException; - method public deprecated byte[] start(byte[], byte[], byte[], java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; - method public deprecated byte[] start(java.security.cert.CertPath, byte[], byte[], java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,byte[]> recoverKeys(@NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException; + method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; + method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull java.security.cert.CertPath, @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException; } public final class WrappedApplicationKey implements android.os.Parcelable { - method public deprecated byte[] getAccount(); + method @Deprecated @NonNull public byte[] getAccount(); } public static class WrappedApplicationKey.Builder { - method public deprecated android.security.keystore.recovery.WrappedApplicationKey.Builder setAccount(byte[]); + method @Deprecated public android.security.keystore.recovery.WrappedApplicationKey.Builder setAccount(@NonNull byte[]); } } @@ -127,10 +128,10 @@ package android.service.notification { public abstract class NotificationListenerService extends android.app.Service { method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); - method public android.service.notification.StatusBarNotification[] getActiveNotifications(java.lang.String[], int); + method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; method public final void setOnNotificationPostedTrim(int); - method public final void snoozeNotification(java.lang.String, java.lang.String); + method public final void snoozeNotification(String, String); method public void unregisterAsSystemService() throws android.os.RemoteException; field public static final int TRIM_FULL = 0; // 0x0 field public static final int TRIM_LIGHT = 1; // 0x1 @@ -146,9 +147,9 @@ package android.service.notification { package android.telephony { public class TelephonyManager { - method public deprecated void answerRingingCall(); - method public deprecated boolean endCall(); - method public deprecated void silenceRinger(); + method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall(); + method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall(); + method @Deprecated public void silenceRinger(); } } |