mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-31 02:01:35 -05:00
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:
@@ -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};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user