Add coverage for StopTetheringCallback default methods
StopTetheringCallback implements no-op default methods, so call these explicitly in the CTS test to satisfy the coverage linter. Bug: 385014495 Bug: 385278741 Test: build Change-Id: Ife938fc5acb6635f201cfb0dadccb601e513c929
This commit is contained in:
parent
9925b6ed6b
commit
7e4a1aa758
1 changed files with 4 additions and 0 deletions
|
|
@ -160,11 +160,15 @@ public final class CtsTetheringUtils {
|
|||
@Override
|
||||
public void onStopTetheringSucceeded() {
|
||||
mHistory.add(new CallbackValue.OnStopTetheringSucceeded());
|
||||
// Call the parent method so that the coverage linter sees it: http://b/385014495
|
||||
TetheringManager.StopTetheringCallback.super.onStopTetheringSucceeded();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStopTetheringFailed(final int error) {
|
||||
mHistory.add(new CallbackValue.OnStopTetheringFailed(error));
|
||||
// Call the parent method so that the coverage linter sees it: http://b/385014495
|
||||
TetheringManager.StopTetheringCallback.super.onStopTetheringFailed(error);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue