Add LightsRequest.Builder#setLight back to SystemApi as Deprecated.
LightRequest.Builder#setLight was renamed to LightRequest.Builder#addLight, as metalava check enforce the check for a getter. ApiChecker CTS test still check the method with API 28, 29, 30 and will fail on: missing_method: android.hardware.lights.LightsRequest.Builder#setLight(android.hardware.lights.Light, android.hardware.lights.LightState) Error: No method with correct signature found. Add the method back to SystemApi and annotate it as deprecated. Bug: 181019981 Test: atest android.signature.cts.api.system.SignatureTest#testSignature Change-Id: Id05f11ad77c01e26e62eaece78ffc875ec5e72df
Loading
Please register or sign in to comment