diff options
author | Aurimas Liutikas <aurimas@google.com> | 2020-11-10 15:32:51 -0800 |
---|---|---|
committer | Aurimas Liutikas <aurimas@google.com> | 2020-11-11 23:16:32 +0000 |
commit | 796760c56efcd094ccda55551cfbbd52fbde9075 (patch) | |
tree | c8bf2d45cefe7f039210cabe692512c7e221b905 /telecomm/java/android/telecom/InCallService.java | |
parent | 4063fb0530d76ca64da4c88631f859679e58aab9 (diff) |
Suppress all hidden abstract methods in constructable classes.
Having a hidden abstract method for a class that can be extended
means that public implementors cannot implement these hidden methods
posing a risk that custom implementations will not have required
abstract methods resulting in an exception.
Bug: 151134792
Test: make update-api
Change-Id: I758d12465fabc671be19bedeeceb16885de23c87
Exempt-From-Owner-Approval: large scale suppression of existing issues,
no-op in terms of behavior
Diffstat (limited to 'telecomm/java/android/telecom/InCallService.java')
-rw-r--r-- | telecomm/java/android/telecom/InCallService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/InCallService.java b/telecomm/java/android/telecom/InCallService.java index 982e5f30e28c..07de61759d59 100644 --- a/telecomm/java/android/telecom/InCallService.java +++ b/telecomm/java/android/telecom/InCallService.java @@ -680,6 +680,7 @@ public abstract class InCallService extends Service { public static abstract class VideoCall { /** @hide */ + @SuppressWarnings("HiddenAbstractMethod") public abstract void destroy(); /** |