Fix copy/paste error in 14ae586
This led to devices incorrectly flagging packages as non-compatible. With this fix everything works as before.
This commit is contained in:
parent
11dc9f6460
commit
3ab6bd84f9
@ -11,12 +11,12 @@ public class SupportedArchitectures extends Compatibility {
|
||||
@SuppressWarnings("deprecation")
|
||||
public static String[] getAbis() {
|
||||
if (hasApi(21)) {
|
||||
return new String[]{Build.CPU_ABI};
|
||||
return Build.SUPPORTED_ABIS;
|
||||
}
|
||||
if (hasApi(8)) {
|
||||
return new String[]{Build.CPU_ABI, Build.CPU_ABI2};
|
||||
}
|
||||
return Build.SUPPORTED_ABIS;
|
||||
return new String[]{Build.CPU_ABI};
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user