blob: 1ad87add3f7d56182af65390ff0a31400b396bba [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha04" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0-alpha04)" variant="all" version="8.3.0-alpha04">
<issue
id="NewApi"
message="Class requires API level 24 (current min is 19): `android.view.PixelCopy.OnPixelCopyFinishedListener`"
errorLine1=" PixelCopy.request(source, dest, new PixelCopy.OnPixelCopyFinishedListener() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/androidTest/java/androidx/media2/widget/VideoView_WithPlayerTest.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" protected synchronized void updateActiveCues(boolean rebuild, long timeMs) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/media2/widget/SubtitleTrack.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" private synchronized void takeTime(long timeMs) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/media2/widget/SubtitleTrack.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" protected synchronized void clearActiveCues() {"
errorLine2=" ^">
<location
file="src/main/java/androidx/media2/widget/SubtitleTrack.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" protected synchronized boolean addCue(Cue cue) {"
errorLine2=" ^">
<location
file="src/main/java/androidx/media2/widget/SubtitleTrack.java"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" /**"
errorLine2=" ^">
<location
file="src/main/java/androidx/media2/widget/SubtitleTrack.java"/>
</issue>
<issue
id="BanThreadSleep"
message="Uses Thread.sleep()"
errorLine1=" Thread.sleep(bufferQueueToleranceMs);"
errorLine2=" ~~~~~">
<location
file="src/androidTest/java/androidx/media2/widget/VideoView_WithPlayerTest.java"/>
</issue>
<issue
id="BanThreadSleep"
message="Uses Thread.sleep()"
errorLine1=" Thread.sleep(elapsedTimeForSecondScreenshotMs);"
errorLine2=" ~~~~~">
<location
file="src/androidTest/java/androidx/media2/widget/VideoView_WithPlayerTest.java"/>
</issue>
<issue
id="PrivateConstructorForUtilityClass"
message="Utility class is missing private constructor"
errorLine1=" static class MediaFormatUtil {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/CaptionStyle.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/CaptionStyle.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/CaptioningManagerHelper.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (Build.VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/Cea708CaptionRenderer.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/ClosedCaptionWidget.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/ClosedCaptionWidget.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/ClosedCaptionWidget.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is never &lt; 19"
errorLine1=" if (VERSION.SDK_INT &lt; 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/ClosedCaptionWidget.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" @RequiresApi(19)"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" Locale selectedLocale = VERSION.SDK_INT >= 19"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" boolean selectForced = VERSION.SDK_INT >= 19"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" boolean captionIsEnabledOnSystem = VERSION.SDK_INT >= 19"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="Unnecessary; SDK_INT is always >= 19"
errorLine1=" if (mTracks.size() == 0 &amp;&amp; VERSION.SDK_INT >= 19) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/media2/widget/SubtitleController.java"/>
</issue>
</issues>