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
This commit is contained in:
Aurimas Liutikas
2020-11-10 15:32:51 -08:00
parent 4063fb0530
commit 796760c56e
20 changed files with 169 additions and 0 deletions

View File

@@ -202,6 +202,7 @@ public abstract class AbstractInputMethodService extends Service
* @param args The arguments passed to the dump method.
* @hide
*/
@SuppressWarnings("HiddenAbstractMethod")
abstract void dumpProtoInternal(FileDescriptor fd, String[] args);
/**