Supress deprecation warnings of compat CPU_ABI* usage
This commit is contained in:
parent
55c1bd0572
commit
bfc79f3a79
@ -5,10 +5,12 @@ import android.os.Build;
|
|||||||
|
|
||||||
public class SupportedArchitectures extends Compatibility {
|
public class SupportedArchitectures extends Compatibility {
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
private static String[] getAbisDonut() {
|
private static String[] getAbisDonut() {
|
||||||
return new String[]{Build.CPU_ABI};
|
return new String[]{Build.CPU_ABI};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@TargetApi(8)
|
@TargetApi(8)
|
||||||
private static String[] getAbisFroyo() {
|
private static String[] getAbisFroyo() {
|
||||||
return new String[]{Build.CPU_ABI, Build.CPU_ABI2};
|
return new String[]{Build.CPU_ABI, Build.CPU_ABI2};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user