mirror of
https://github.com/androidx/media.git
synced 2025-05-11 09:39:52 +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
967acf3049
commit
c5aa869730
@ -1758,8 +1758,7 @@ public final class SampleQueueTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@C.CryptoType
|
public @C.CryptoType int getCryptoType(Format format) {
|
||||||
public int getCryptoType(Format format) {
|
|
||||||
return mockPlaceholderDrmSession != null || format.drmInitData != null
|
return mockPlaceholderDrmSession != null || format.drmInitData != null
|
||||||
? FakeCryptoConfig.TYPE
|
? FakeCryptoConfig.TYPE
|
||||||
: C.CRYPTO_TYPE_NONE;
|
: C.CRYPTO_TYPE_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user