mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
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"?>
|
||||
* <lint>
|
||||
* <issue id="UnsafeOptInUsageError">
|
||||
* <ignore
|
||||
* regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
||||
* <option name="opt-in" value="androidx.media3.common.util.UnstableApi" />
|
||||
* </issue>
|
||||
* </lint>
|
||||
* }</pre>
|
||||
|
@ -15,9 +15,6 @@
|
||||
-->
|
||||
<lint>
|
||||
<issue id="UnsafeOptInUsageError">
|
||||
<ignore path='libraries/'
|
||||
regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
||||
<ignore path='testapps/'
|
||||
regexp='\(markerClass = androidx\.media3\.common\.util\.UnstableApi\.class\)' />
|
||||
<option name="opt-in" value="androidx.media3.common.util.UnstableApi" />
|
||||
</issue>
|
||||
</lint>
|
Loading…
x
Reference in New Issue
Block a user