mirror of https://github.com/Genymobile/scrcpy
Upgrade Android checkstyle to 10.12.5
Upgrade to the latest version.
This commit is contained in:
parent
15a3bad4ab
commit
86808e8114
|
@ -2,7 +2,7 @@ apply plugin: 'checkstyle'
|
||||||
check.dependsOn 'checkstyle'
|
check.dependsOn 'checkstyle'
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
toolVersion = '9.0.1'
|
toolVersion = '10.12.5'
|
||||||
}
|
}
|
||||||
|
|
||||||
task checkstyle(type: Checkstyle) {
|
task checkstyle(type: Checkstyle) {
|
||||||
|
|
|
@ -295,7 +295,7 @@ public final class AudioEncoder implements AsyncProcessor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class EncoderCallback extends MediaCodec.Callback {
|
private final class EncoderCallback extends MediaCodec.Callback {
|
||||||
@TargetApi(Build.VERSION_CODES.N)
|
@TargetApi(Build.VERSION_CODES.N)
|
||||||
@Override
|
@Override
|
||||||
public void onInputBufferAvailable(MediaCodec codec, int index) {
|
public void onInputBufferAvailable(MediaCodec codec, int index) {
|
||||||
|
|
Loading…
Reference in New Issue