Skip to content

Commit f5c5185

Browse files
committed
use TARGET_SDK_ARM again
1 parent 4fb6c69 commit f5c5185

File tree

1 file changed

+12
-12
lines changed
  • mode/src/processing/mode/android

1 file changed

+12
-12
lines changed

mode/src/processing/mode/android/AVD.java

+12-12
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ static public String getName(boolean wear) {
101101

102102

103103
static public String getPreferredPlatform(boolean wear, String abi) {
104-
// if (wear) {
105-
// return AndroidBuild.TARGET_PLATFORM;
106-
// } else if (abi.equals("arm")) {
107-
// // The ARM images using Google APIs are too slow, so use the
108-
// // older Android (AOSP) images.
109-
// return "android-" + TARGET_SDK_ARM;
110-
// } else if (abi.equals("arm64-v8a")) {
111-
// return AndroidBuild.TARGET_PLATFORM;
112-
// } else {
113-
// return AndroidBuild.TARGET_PLATFORM;
114-
// }
115-
return AndroidBuild.TARGET_PLATFORM;
104+
if (wear) {
105+
return AndroidBuild.TARGET_PLATFORM;
106+
} else if (abi.equals("arm")) {
107+
// The ARM images using Google APIs are too slow, so use the
108+
// older Android (AOSP) images.
109+
// TODO check if we can move to the regular ARM images...
110+
return "android-" + TARGET_SDK_ARM;
111+
} else if (abi.equals("arm64-v8a")) {
112+
return AndroidBuild.TARGET_PLATFORM;
113+
} else {
114+
return AndroidBuild.TARGET_PLATFORM;
115+
}
116116
}
117117

118118
static public String getPreferredPort(boolean wear) {

0 commit comments

Comments
 (0)