mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix some warnings seen after the migration to JDK 11 (flutter/engine#28045)
This commit is contained in:
parent
80e299c6b0
commit
c32c76cd83
@ -23,6 +23,7 @@ import androidx.annotation.Nullable;
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public final class DrawableSplashScreen implements SplashScreen {
|
||||
private final Drawable drawable;
|
||||
private final ImageView.ScaleType scaleType;
|
||||
|
||||
@ -23,6 +23,7 @@ import androidx.annotation.Nullable;
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public interface SplashScreen {
|
||||
/**
|
||||
* Creates a {@code View} to be displayed as a splash screen before Flutter renders its first
|
||||
|
||||
@ -2692,7 +2692,7 @@ public class AccessibilityBridge extends AccessibilityNodeProvider {
|
||||
switch (attribute.type) {
|
||||
case SPELLOUT:
|
||||
{
|
||||
final TtsSpan ttsSpan = new TtsSpan.Builder(TtsSpan.TYPE_VERBATIM).build();
|
||||
final TtsSpan ttsSpan = new TtsSpan.Builder<>(TtsSpan.TYPE_VERBATIM).build();
|
||||
spannableString.setSpan(ttsSpan, attribute.start, attribute.end, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user