Update recommended way to suppress @UnstableApi
errors in lint.xml
#minor-release PiperOrigin-RevId: 582599098
This commit is contained in:
parent
94e45eb4ad
commit
bd7615c0b8
@ -95,8 +95,7 @@ import java.lang.annotation.Target;
|
|||||||
* <?xml version="1.0" encoding="utf-8"?>
|
* <?xml version="1.0" encoding="utf-8"?>
|
||||||
* <lint>
|
* <lint>
|
||||||
* <issue id="UnsafeOptInUsageError">
|
* <issue id="UnsafeOptInUsageError">
|
||||||
* <ignore
|
* <option name="opt-in" value="androidx.media3.common.util.UnstableApi" />
|
||||||
* regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
|
||||||
* </issue>
|
* </issue>
|
||||||
* </lint>
|
* </lint>
|
||||||
* }</pre>
|
* }</pre>
|
||||||
|
@ -15,9 +15,6 @@
|
|||||||
-->
|
-->
|
||||||
<lint>
|
<lint>
|
||||||
<issue id="UnsafeOptInUsageError">
|
<issue id="UnsafeOptInUsageError">
|
||||||
<ignore path='libraries/'
|
<option name="opt-in" value="androidx.media3.common.util.UnstableApi" />
|
||||||
regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
|
||||||
<ignore path='testapps/'
|
|
||||||
regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
|
||||||
</issue>
|
</issue>
|
||||||
</lint>
|
</lint>
|
Loading…
x
Reference in New Issue
Block a user