@@ -101,15 +101,18 @@ static public String getName(boolean wear) {
101
101
102
102
103
103
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 {
111
- return AndroidBuild .TARGET_PLATFORM ;
112
- }
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 ;
113
116
}
114
117
115
118
static public String getPreferredPort (boolean wear ) {
@@ -134,9 +137,8 @@ static public String getPreferredPort(boolean wear) {
134
137
static protected String getPreferredTag (boolean wear , String abi ) {
135
138
if (wear ) {
136
139
return "android-wear" ;
137
- } else if (abi .equals ("arm" )) {
138
- // The ARM images using Google APIs are too slow, so use the
139
- // older Android (AOSP) images.
140
+ } else if (abi .contains ("arm" )) {
141
+ // The ARM images are located in the default folder.
140
142
return "default" ;
141
143
} else {
142
144
return "google_apis" ;
0 commit comments