summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2024-02-26 13:09:41 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2024-02-27 15:41:14 +0000
commit528781964447e18ea3f6f174af3ee18c3119e2fa (patch)
treed0508c57b3e6c37d0f4bfc0cc64d4883ad4ec1bd /libs/androidfw/misc.cpp
parent4cac4b200d4635b1297e57f506d939a7475216f2 (diff)
Suppress HiddenAbstractMethod on Notification.Style.areNotificationsVisiblyDifferent
The `Notification.Style` class is an abstract class with a publicly visible constructor and so the assumption is it is expected to be extended by Apps. As such it cannot have any hidden abstract methods as that would prevent an App from extending the class. Unfortunately, `areNotificationsVisiblyDifferent(Style)` is both hidden and abstract. The issue was not previously detected due to a bug in Metalava but that has been fixed and so now this is an issue. This change is temporarily suppressing the error in the code to unblock Metalava changes being merged into AOSP but it should be fixed properly ASAP. A proper fix would either require marking the public constructor as `@removed` or unhiding the method or giving it a concrete implementation. Bug: 324468829 Test: m checkapi android-non-updatable-doc-stubs (cherry picked from https://android-review.googlesource.com/q/commit:ddc69d098f03fce1bed20144f92b8743eddb1767) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:57f1c4e1e85a4593ec596af264cd644e2130a6cb) Merged-In: I3b72ef4f0afff35771ee6f37130d1084071e2de1 Change-Id: I3b72ef4f0afff35771ee6f37130d1084071e2de1
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions