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:
@@ -680,6 +680,7 @@ public abstract class InCallService extends Service {
|
||||
public static abstract class VideoCall {
|
||||
|
||||
/** @hide */
|
||||
@SuppressWarnings("HiddenAbstractMethod")
|
||||
public abstract void destroy();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user