File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
mode/src/processing/mode/android Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments