diff options
author | Chris Ye <lzye@google.com> | 2021-02-26 19:13:25 -0800 |
---|---|---|
committer | Chris Ye <lzye@google.com> | 2021-03-05 09:29:50 -0800 |
commit | 65ef0fafea46f631eff0ab59ae5569b200bf8580 (patch) | |
tree | 350f99d20749f78d294c8a403473de031903ec0f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4973cb868bf4bc39b6b8125590cdad9aa339487a (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions