mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-09-23 20:46:53 -04: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:
1 parent
11dc9f6460
commit
3ab6bd84f9
1 file changed
+2
-2
@@ -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