Merge changes from topic "mainline-prod-metalava-update" into mainline-prod
* changes: Regenerate API file with latest metalava for mainline-prod Remove unnecessarily @System/TestApi annotations
This commit is contained in:
252
api/current.txt
252
api/current.txt
File diff suppressed because one or more lines are too long
@@ -5209,7 +5209,7 @@ package android.view {
|
||||
field public static final int ACCESSIBILITY_TITLE_CHANGED = 33554432; // 0x2000000
|
||||
field public static final int PRIVATE_FLAG_NO_MOVE_ANIMATION = 64; // 0x40
|
||||
field public CharSequence accessibilityTitle;
|
||||
field @android.view.ViewDebug.ExportedProperty(flagMapping={@android.view.ViewDebug.FlagToString(mask=0x1, equals=0x1, name="FAKE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x2, equals=0x2, name="FORCE_HARDWARE_ACCELERATED"), @android.view.ViewDebug.FlagToString(mask=0x4, equals=0x4, name="WANTS_OFFSET_NOTIFICATIONS"), @android.view.ViewDebug.FlagToString(mask=0x10, equals=0x10, name="SHOW_FOR_ALL_USERS"), @android.view.ViewDebug.FlagToString(mask=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, equals=android.view.WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION, name="NO_MOVE_ANIMATION"), @android.view.ViewDebug.FlagToString(mask=0x80, equals=0x80, name="COMPATIBLE_WINDOW"), @android.view.ViewDebug.FlagToString(mask=0x100, equals=0x100, name="SYSTEM_ERROR"), @android.view.ViewDebug.FlagToString(mask=0x800, equals=0x800, name="DISABLE_WALLPAPER_TOUCH_EVENTS"), @android.view.ViewDebug.FlagToString(mask=0x1000, equals=0x1000, name="FORCE_STATUS_BAR_VISIBLE"), @android.view.ViewDebug.FlagToString(mask=0x2000, equals=0x2000, name="PRESERVE_GEOMETRY"), @android.view.ViewDebug.FlagToString(mask=0x4000, equals=0x4000, name="FORCE_DECOR_VIEW_VISIBILITY"), @android.view.ViewDebug.FlagToString(mask=0x8000, equals=0x8000, name="WILL_NOT_REPLACE_ON_RELAUNCH"), @android.view.ViewDebug.FlagToString(mask=0x10000, equals=0x10000, name="LAYOUT_CHILD_WINDOW_IN_PARENT_FRAME"), @android.view.ViewDebug.FlagToString(mask=0x20000, equals=0x20000, name="FORCE_DRAW_STATUS_BAR_BACKGROUND"), @android.view.ViewDebug.FlagToString(mask=0x40000, equals=0x40000, name="SUSTAINED_PERFORMANCE_MODE"), @android.view.ViewDebug.FlagToString(mask=0x80000, equals=0x80000, name="HIDE_NON_SYSTEM_OVERLAY_WINDOWS"), @android.view.ViewDebug.FlagToString(mask=0x100000, equals=0x100000, name="IS_ROUNDED_CORNERS_OVERLAY"), @android.view.ViewDebug.FlagToString(mask=0x400000, equals=0x400000, name="IS_SCREEN_DECOR"), @android.view.ViewDebug.FlagToString(mask=0x800000, equals=0x800000, name="STATUS_FORCE_SHOW_NAVIGATION"), @android.view.ViewDebug.FlagToString(mask=0x1000000, equals=0x1000000, name="COLOR_SPACE_AGNOSTIC"), @android.view.ViewDebug.FlagToString(mask=0x4000000, equals=0x4000000, name="APPEARANCE_CONTROLLED"), @android.view.ViewDebug.FlagToString(mask=0x8000000, equals=0x8000000, name="BEHAVIOR_CONTROLLED"), @android.view.ViewDebug.FlagToString(mask=0x10000000, equals=0x10000000, name="FIT_INSETS_CONTROLLED")}) public int privateFlags;
|
||||
field public int privateFlags;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ import static android.app.ActivityThread.DEBUG_CONFIGURATION;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.TestApi;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
@@ -1043,7 +1042,6 @@ public class ResourcesManager {
|
||||
}
|
||||
}
|
||||
|
||||
@TestApi
|
||||
public final boolean applyConfigurationToResources(@NonNull Configuration config,
|
||||
@Nullable CompatibilityInfo compat) {
|
||||
synchronized(this) {
|
||||
|
||||
@@ -19,7 +19,6 @@ package android.bluetooth;
|
||||
import android.Manifest;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SystemApi;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.Context;
|
||||
import android.os.Binder;
|
||||
@@ -587,7 +586,6 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
|
||||
* @return true if connectionPolicy is set, false on error
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public boolean setConnectionPolicy(@NonNull BluetoothDevice device,
|
||||
@ConnectionPolicy int connectionPolicy) {
|
||||
@@ -637,7 +635,6 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
|
||||
* @return connection policy of the device
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH)
|
||||
public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) {
|
||||
if (VDBG) log("getConnectionPolicy(" + device + ")");
|
||||
|
||||
@@ -19,7 +19,6 @@ package android.bluetooth;
|
||||
import android.Manifest;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SystemApi;
|
||||
import android.app.PendingIntent;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.Context;
|
||||
@@ -276,7 +275,6 @@ public final class BluetoothMapClient implements BluetoothProfile {
|
||||
* @return true if connectionPolicy is set, false on error
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public boolean setConnectionPolicy(@NonNull BluetoothDevice device,
|
||||
@ConnectionPolicy int connectionPolicy) {
|
||||
@@ -325,7 +323,6 @@ public final class BluetoothMapClient implements BluetoothProfile {
|
||||
* @return connection policy of the device
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) {
|
||||
if (VDBG) Log.d(TAG, "getConnectionPolicy(" + device + ")");
|
||||
|
||||
@@ -19,7 +19,6 @@ package android.bluetooth;
|
||||
import android.Manifest;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SystemApi;
|
||||
import android.content.Context;
|
||||
import android.os.Binder;
|
||||
import android.os.IBinder;
|
||||
@@ -276,7 +275,6 @@ public final class BluetoothPbapClient implements BluetoothProfile {
|
||||
* @return true if connectionPolicy is set, false on error
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public boolean setConnectionPolicy(@NonNull BluetoothDevice device,
|
||||
@ConnectionPolicy int connectionPolicy) {
|
||||
@@ -329,7 +327,6 @@ public final class BluetoothPbapClient implements BluetoothProfile {
|
||||
* @return connection policy of the device
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) {
|
||||
if (VDBG) {
|
||||
|
||||
@@ -18,7 +18,6 @@ package android.bluetooth;
|
||||
|
||||
import android.Manifest;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SystemApi;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.Context;
|
||||
import android.os.Binder;
|
||||
@@ -328,7 +327,6 @@ public final class BluetoothSap implements BluetoothProfile {
|
||||
* @return true if connectionPolicy is set, false on error
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public boolean setConnectionPolicy(BluetoothDevice device,
|
||||
@ConnectionPolicy int connectionPolicy) {
|
||||
@@ -377,7 +375,6 @@ public final class BluetoothSap implements BluetoothProfile {
|
||||
* @return connection policy of the device
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@RequiresPermission(Manifest.permission.BLUETOOTH_PRIVILEGED)
|
||||
public @ConnectionPolicy int getConnectionPolicy(BluetoothDevice device) {
|
||||
if (VDBG) log("getConnectionPolicy(" + device + ")");
|
||||
|
||||
@@ -21,7 +21,6 @@ import android.annotation.Nullable;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SystemApi;
|
||||
import android.annotation.SystemService;
|
||||
import android.annotation.TestApi;
|
||||
import android.compat.Compatibility;
|
||||
import android.compat.annotation.ChangeId;
|
||||
import android.compat.annotation.EnabledAfter;
|
||||
@@ -241,7 +240,6 @@ public class OverlayManager {
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
@RequiresPermission(anyOf = {
|
||||
"android.permission.INTERACT_ACROSS_USERS",
|
||||
})
|
||||
|
||||
@@ -46,7 +46,6 @@ import android.annotation.IntRange;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.StringRes;
|
||||
import android.annotation.TestApi;
|
||||
import android.apex.ApexInfo;
|
||||
import android.app.ActivityTaskManager;
|
||||
import android.app.ActivityThread;
|
||||
@@ -2545,7 +2544,6 @@ public class PackageParser {
|
||||
* not compatible with this platform
|
||||
* @hide Exposed for unit testing only.
|
||||
*/
|
||||
@TestApi
|
||||
public static int computeTargetSdkVersion(@IntRange(from = 0) int targetVers,
|
||||
@Nullable String targetCode, @NonNull String[] platformSdkCodenames,
|
||||
@NonNull String[] outError) {
|
||||
@@ -2610,7 +2608,6 @@ public class PackageParser {
|
||||
* compatible with this platform
|
||||
* @hide Exposed for unit testing only.
|
||||
*/
|
||||
@TestApi
|
||||
public static int computeMinSdkVersion(@IntRange(from = 1) int minVers,
|
||||
@Nullable String minCode, @IntRange(from = 1) int platformSdkVersion,
|
||||
@NonNull String[] platformSdkCodenames, @NonNull String[] outError) {
|
||||
@@ -4732,7 +4729,6 @@ public class PackageParser {
|
||||
* AndroidManifest.xml.
|
||||
* @hide Exposed for unit testing only.
|
||||
*/
|
||||
@TestApi
|
||||
public static int getActivityConfigChanges(int configChanges, int recreateOnConfigChanges) {
|
||||
return configChanges | ((~recreateOnConfigChanges) & RECREATE_ON_CONFIG_CHANGES_MASK);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ package android.telephony;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.TestApi;
|
||||
import android.compat.Compatibility;
|
||||
import android.compat.annotation.ChangeId;
|
||||
import android.compat.annotation.EnabledAfter;
|
||||
@@ -283,7 +282,6 @@ public class TelephonyRegistryManager {
|
||||
* @param incomingNumber incoming phone number.
|
||||
* @hide
|
||||
*/
|
||||
@TestApi
|
||||
@RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
|
||||
public void notifyCallStateChangedForAllSubscriptions(@CallState int state,
|
||||
@Nullable String incomingNumber) {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.annotation.SystemApi;
|
||||
import android.app.AlarmManager;
|
||||
import android.app.AppOpsManager;
|
||||
import android.content.Context;
|
||||
@@ -100,7 +99,6 @@ public class GraphicsStatsService extends IGraphicsStats.Stub {
|
||||
private Handler mWriteOutHandler;
|
||||
private boolean mRotateIsScheduled = false;
|
||||
|
||||
@SystemApi
|
||||
public GraphicsStatsService(Context context) {
|
||||
mContext = context;
|
||||
mAppOps = context.getSystemService(AppOpsManager.class);
|
||||
|
||||
@@ -18,7 +18,6 @@ package android.media;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.TestApi;
|
||||
import android.os.Bundle;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
@@ -583,7 +582,6 @@ public class MediaMetrics {
|
||||
*
|
||||
* @return a Bundle with the keys set according to data in the Item's buffer.
|
||||
*/
|
||||
@TestApi
|
||||
public Bundle toBundle() {
|
||||
updateHeader();
|
||||
|
||||
@@ -596,23 +594,14 @@ public class MediaMetrics {
|
||||
|
||||
// The following constants are used for tests to extract
|
||||
// the content of the Bundle for CTS testing.
|
||||
@TestApi
|
||||
public static final String BUNDLE_TOTAL_SIZE = "_totalSize";
|
||||
@TestApi
|
||||
public static final String BUNDLE_HEADER_SIZE = "_headerSize";
|
||||
@TestApi
|
||||
public static final String BUNDLE_VERSION = "_version";
|
||||
@TestApi
|
||||
public static final String BUNDLE_KEY_SIZE = "_keySize";
|
||||
@TestApi
|
||||
public static final String BUNDLE_KEY = "_key";
|
||||
@TestApi
|
||||
public static final String BUNDLE_PID = "_pid";
|
||||
@TestApi
|
||||
public static final String BUNDLE_UID = "_uid";
|
||||
@TestApi
|
||||
public static final String BUNDLE_TIMESTAMP = "_timestamp";
|
||||
@TestApi
|
||||
public static final String BUNDLE_PROPERTY_COUNT = "_propertyCount";
|
||||
|
||||
/**
|
||||
@@ -623,7 +612,6 @@ public class MediaMetrics {
|
||||
* @param buffer contains the byte data serialized according to the byte string version.
|
||||
* @return a Bundle with the keys set according to data in the buffer.
|
||||
*/
|
||||
@TestApi
|
||||
public static Bundle toBundle(ByteBuffer buffer) {
|
||||
final Bundle bundle = new Bundle();
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ package android.media;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.TestApi;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.database.Cursor;
|
||||
@@ -440,7 +439,6 @@ public class Utils {
|
||||
*
|
||||
* @param <V> The class of the object returned to the listener.
|
||||
*/
|
||||
@TestApi
|
||||
public static class ListenerList<V> {
|
||||
/**
|
||||
* The Listener interface for callback.
|
||||
|
||||
@@ -19,7 +19,6 @@ package android.media.audiopolicy;
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SystemApi;
|
||||
import android.annotation.TestApi;
|
||||
import android.media.AudioAttributes;
|
||||
import android.media.AudioSystem;
|
||||
import android.media.MediaRecorder;
|
||||
@@ -108,7 +107,6 @@ public final class AudioProductStrategy implements Parcelable {
|
||||
* @param id the ID for the invalid strategy, always use a different one than in use
|
||||
* @return an invalid instance that cannot successfully be used for volume groups or routing
|
||||
*/
|
||||
@TestApi
|
||||
@SystemApi
|
||||
public static @NonNull AudioProductStrategy createInvalidAudioProductStrategy(int id) {
|
||||
return new AudioProductStrategy("dummy strategy", id, new AudioAttributesGroup[0]);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,74 +1,88 @@
|
||||
// Baseline format: 1.0
|
||||
ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions():
|
||||
Method should return Collection<CharSequence> (or subclass) instead of raw array; was `java.lang.CharSequence[]`
|
||||
|
||||
|
||||
|
||||
BuilderSetStyle: android.net.IpSecTransform.Builder#buildTunnelModeTransform(java.net.InetAddress, android.net.IpSecManager.SecurityParameterIndex):
|
||||
Builder methods names should use setFoo() / addFoo() / clearFoo() style: method android.net.IpSecTransform.Builder.buildTunnelModeTransform(java.net.InetAddress,android.net.IpSecManager.SecurityParameterIndex)
|
||||
|
||||
|
||||
GenericException: android.app.prediction.AppPredictor#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
|
||||
GenericException: android.hardware.location.ContextHubClient#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
|
||||
GenericException: android.net.IpSecManager.IpSecTunnelInterface#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
|
||||
GenericException: android.service.autofill.augmented.FillWindow#finalize():
|
||||
Methods must not throw generic exceptions (`java.lang.Throwable`)
|
||||
|
||||
|
||||
|
||||
KotlinKeyword: android.app.Notification#when:
|
||||
Avoid field names that are Kotlin hard keywords ("when"); see https://android.github.io/kotlin-guides/interop.html#no-hard-keywords
|
||||
|
||||
|
||||
|
||||
MissingGetterMatchingBuilder: android.security.keystore.KeyGenParameterSpec.Builder#setUid(int):
|
||||
android.security.keystore.KeyGenParameterSpec does not declare a `getUid()` method matching method android.security.keystore.KeyGenParameterSpec.Builder.setUid(int)
|
||||
MissingGetterMatchingBuilder: android.service.autofill.Dataset.Builder#setFieldInlinePresentation(android.view.autofill.AutofillId, android.view.autofill.AutofillValue, java.util.regex.Pattern, android.service.autofill.InlinePresentation):
|
||||
android.service.autofill.Dataset does not declare a `getFieldInlinePresentation()` method matching method android.service.autofill.Dataset.Builder.setFieldInlinePresentation(android.view.autofill.AutofillId,android.view.autofill.AutofillValue,java.util.regex.Pattern,android.service.autofill.InlinePresentation)
|
||||
MissingGetterMatchingBuilder: android.telecom.CallScreeningService.CallResponse.Builder#setShouldScreenCallViaAudioProcessing(boolean):
|
||||
android.telecom.CallScreeningService.CallResponse does not declare a `shouldScreenCallViaAudioProcessing()` method matching method android.telecom.CallScreeningService.CallResponse.Builder.setShouldScreenCallViaAudioProcessing(boolean)
|
||||
MissingGetterMatchingBuilder: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String):
|
||||
android.telephony.mbms.DownloadRequest does not declare a `getServiceId()` method matching method android.telephony.mbms.DownloadRequest.Builder.setServiceId(String)
|
||||
|
||||
|
||||
MissingNullability: android.media.soundtrigger.SoundTriggerDetectionService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0:
|
||||
Missing nullability on parameter `inputId` in method `onEvent`
|
||||
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1:
|
||||
Missing nullability on parameter `eventType` in method `onEvent`
|
||||
|
||||
MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2:
|
||||
Missing nullability on parameter `eventArgs` in method `onEvent`
|
||||
|
||||
MissingNullability: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context) parameter #0:
|
||||
Missing nullability on parameter `base` in method `attachBaseContext`
|
||||
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSync#CONTENT_URI:
|
||||
Missing nullability on field `CONTENT_URI` in class `class android.provider.ContactsContract.MetadataSync`
|
||||
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSync#METADATA_AUTHORITY_URI:
|
||||
Missing nullability on field `METADATA_AUTHORITY_URI` in class `class android.provider.ContactsContract.MetadataSync`
|
||||
|
||||
MissingNullability: android.provider.ContactsContract.MetadataSyncState#CONTENT_URI:
|
||||
Missing nullability on field `CONTENT_URI` in class `class android.provider.ContactsContract.MetadataSyncState`
|
||||
|
||||
MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #0:
|
||||
Missing nullability on parameter `context` in method `attachInfo`
|
||||
|
||||
MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #1:
|
||||
Missing nullability on parameter `info` in method `attachInfo`
|
||||
|
||||
MissingNullability: android.service.autofill.augmented.AugmentedAutofillService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #0:
|
||||
Missing nullability on parameter `fd` in method `dump`
|
||||
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #1:
|
||||
Missing nullability on parameter `pw` in method `dump`
|
||||
|
||||
MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #2:
|
||||
Missing nullability on parameter `args` in method `dump`
|
||||
|
||||
MissingNullability: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context) parameter #0:
|
||||
Missing nullability on parameter `base` in method `attachBaseContext`
|
||||
|
||||
MissingNullability: android.telephony.NetworkService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringDaily`
|
||||
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringMonthly`
|
||||
|
||||
MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.ZonedDateTime) parameter #0:
|
||||
Missing nullability on parameter `start` in method `createRecurringWeekly`
|
||||
|
||||
MissingNullability: android.telephony.data.DataService#onUnbind(android.content.Intent) parameter #0:
|
||||
Missing nullability on parameter `intent` in method `onUnbind`
|
||||
|
||||
MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String):
|
||||
Missing nullability on method `setServiceId` return
|
||||
|
||||
MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String) parameter #0:
|
||||
Missing nullability on parameter `serviceId` in method `setServiceId`
|
||||
|
||||
|
||||
|
||||
ProtectedMember: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context):
|
||||
Protected methods not allowed; must be public: method android.printservice.recommendation.RecommendationService.attachBaseContext(android.content.Context)}
|
||||
|
||||
ProtectedMember: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]):
|
||||
Protected methods not allowed; must be public: method android.service.contentcapture.ContentCaptureService.dump(java.io.FileDescriptor,java.io.PrintWriter,String[])}
|
||||
|
||||
ProtectedMember: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context):
|
||||
Protected methods not allowed; must be public: method android.service.notification.NotificationAssistantService.attachBaseContext(android.content.Context)}
|
||||
|
||||
|
||||
|
||||
SamShouldBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler):
|
||||
@@ -168,7 +182,7 @@ SamShouldBeLast: android.media.AudioRecordingMonitor#registerAudioRecordingCallb
|
||||
SamShouldBeLast: android.media.AudioRouting#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.AudioTrack#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
SAM-compatible parameters (such as parameter 1, "listener", in android.media.AudioTrack.addOnRoutingChangedListener) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions
|
||||
|
||||
SamShouldBeLast: android.media.MediaRecorder#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler):
|
||||
|
||||
SamShouldBeLast: android.media.MediaRecorder#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback):
|
||||
|
||||
@@ -343,7 +343,6 @@ public class MmTelFeature extends ImsFeature {
|
||||
* @hide
|
||||
*/
|
||||
@Override
|
||||
@SystemApi @TestApi
|
||||
public void onIncomingCall(IImsCallSession c, Bundle extras) {
|
||||
|
||||
}
|
||||
@@ -355,7 +354,6 @@ public class MmTelFeature extends ImsFeature {
|
||||
* @hide
|
||||
*/
|
||||
@Override
|
||||
@SystemApi @TestApi
|
||||
public void onRejectedCall(ImsCallProfile callProfile, ImsReasonInfo reason) {
|
||||
|
||||
}
|
||||
@@ -366,7 +364,6 @@ public class MmTelFeature extends ImsFeature {
|
||||
* @hide
|
||||
*/
|
||||
@Override
|
||||
@SystemApi @TestApi
|
||||
public void onVoiceMessageCountUpdate(int count) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user