Regenerate API file with latest metalava for mainline-prod
(merged-in is from a random automerger CL from goog/rvc-dev-plus-aosp to avoid automerge) Bug: 146727827 Test: build Change-Id: I9e6e2a821e5597ac1fe3703473797285e16cc4ac Merged-in: I178e80a925fccea1fe44c6305a9c431e27a928a4
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user