Merge "Add coverage for StopTetheringCallback default methods" into main

This commit is contained in:
Quang Luong 2025-03-04 03:29:28 -08:00 • committed by Gerrit Code Review
commit a812717d2d

View file

@ -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);
}
/**