Skip to content

Commit

Permalink
use TARGET_SDK_ARM again
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Aug 8, 2022
1 parent 4fb6c69 commit f5c5185
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions mode/src/processing/mode/android/AVD.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,18 @@ static public String getName(boolean wear) {


static public String getPreferredPlatform(boolean wear, String abi) {
// if (wear) {
// return AndroidBuild.TARGET_PLATFORM;
// } else if (abi.equals("arm")) {
// // The ARM images using Google APIs are too slow, so use the
// // older Android (AOSP) images.
// return "android-" + TARGET_SDK_ARM;
// } else if (abi.equals("arm64-v8a")) {
// return AndroidBuild.TARGET_PLATFORM;
// } else {
// return AndroidBuild.TARGET_PLATFORM;
// }
return AndroidBuild.TARGET_PLATFORM;
if (wear) {
return AndroidBuild.TARGET_PLATFORM;
} else if (abi.equals("arm")) {
// The ARM images using Google APIs are too slow, so use the
// older Android (AOSP) images.
// TODO check if we can move to the regular ARM images...
return "android-" + TARGET_SDK_ARM;
} else if (abi.equals("arm64-v8a")) {
return AndroidBuild.TARGET_PLATFORM;
} else {
return AndroidBuild.TARGET_PLATFORM;
}
}

static public String getPreferredPort(boolean wear) {
Expand Down

0 comments on commit f5c5185

Please sign in to comment.