Update R8 to version 3.1.11-dev
RELNOTES: None
@@ -25,9 +25,7 @@ import com.android.tools.r8.D8;
import com.android.tools.r8.D8Command;
import com.android.tools.r8.Diagnostic;
import com.android.tools.r8.DiagnosticsHandler;
-import com.android.tools.r8.DiagnosticsLevel;
import com.android.tools.r8.StringResource;
-import com.android.tools.r8.errors.DesugaredLibraryMismatchDiagnostic;
import com.android.tools.r8.errors.InterfaceDesugarMissingTypeDiagnostic;
import com.google.common.collect.ImmutableList;
import com.google.devtools.build.android.Converters.ExistingPathConverter;
@@ -426,14 +424,6 @@ public class Desugar {
}
DiagnosticsHandler.super.warning(warning);
}
-
- @Override
- public DiagnosticsLevel modifyDiagnosticsLevel(DiagnosticsLevel level, Diagnostic diagnostic) {
- if (diagnostic instanceof DesugaredLibraryMismatchDiagnostic) {
- return DiagnosticsLevel.WARNING;
- }
- return level;
- }
}
private void desugar(
