mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Fix 1 ErrorProneStyle finding:
* @Override is not a TYPE_USE annotation, so should appear before any modifiers and after Javadocs. @CryptoType is a TYPE_USE annotation, so should appear after modifiers and directly before the type. PiperOrigin-RevId: 418811744
This commit is contained in:
parent
aa467f52e4
commit
a57245e782
@ -1758,8 +1758,7 @@ public final class SampleQueueTest {
|
||||
}
|
||||
|
||||
@Override
|
||||
@C.CryptoType
|
||||
public int getCryptoType(Format format) {
|
||||
public @C.CryptoType int getCryptoType(Format format) {
|
||||
return mockPlaceholderDrmSession != null || format.drmInitData != null
|
||||
? FakeCryptoConfig.TYPE
|
||||
: C.CRYPTO_TYPE_NONE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user