API Lint: Ignore existing CallbackMethodName violations

Bug: 149430296
Test: make checkapi
Change-Id: Ic6f634355c77f4236083065f7ca933fbee5534a6
Exempt-From-Owner-Approval: API Lint suppresion
This commit is contained in:
Adrian Roos
2020-02-12 16:47:12 -08:00
parent 43361f713d
commit bdb30cb6bb

View File

@@ -28,6 +28,7 @@ import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
import android.annotation.SuppressLint;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.app.ActivityManager;
@@ -1622,11 +1623,13 @@ public class WifiManager {
* @param wifiConfiguration WifiConfiguration object corresponding to the network
* user selected.
*/
@SuppressLint("CallbackMethodName")
default void select(@NonNull WifiConfiguration wifiConfiguration) {}
/**
* User rejected the app's request.
*/
@SuppressLint("CallbackMethodName")
default void reject() {}
}