Android: suppress deprecation warnings for ExtractStyle.java

This class is basically almost unmaintained, so let's not
keep deprecation noise from it.

Change-Id: I009c1c6ee51998ba1578b9238ec8108f9e046799
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
This commit is contained in:
Assam Boudjelthia 2024-12-05 14:42:27 +02:00
parent ad06099b93
commit 879cfec747

View File

@ -58,9 +58,8 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@SuppressWarnings("deprecation")
class ExtractStyle {
// This used to be retrieved from android.R.styleable.ViewDrawableStates field via reflection,
// but since the access to that is restricted, we need to have hard-coded here.
final int[] viewDrawableStatesState = new int[]{