summaryrefslogtreecommitdiffstats
path: root/cmds/am
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-06-17 10:44:05 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-06-17 20:27:39 +0000
commitafc00e1c81a2ae00dc01bb980bc617f382441102 (patch)
tree116ff9d9668e3209f3950264f2c66b1474d10852 /cmds/am
parente54a764cfd83825096edd55dd22cc7b3a6af45da (diff)
downloadframeworks_base-afc00e1c81a2ae00dc01bb980bc617f382441102.zip
frameworks_base-afc00e1c81a2ae00dc01bb980bc617f382441102.tar.gz
frameworks_base-afc00e1c81a2ae00dc01bb980bc617f382441102.tar.bz2
Change am get-config command to use ABI string array
There is a list of supported ABIs in android.os.Build which is ordered by preference. This is a more flexible list to use instead of 2 fixed ABIs. Change-Id: I6aa3b39b5ffa888ed83a870b937e18328dd6de39
Diffstat (limited to 'cmds/am')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 9c1f1d1..127b0fc 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -44,6 +44,7 @@ import android.os.RemoteException;
import android.os.ServiceManager;
import android.os.SystemProperties;
import android.os.UserHandle;
+import android.text.TextUtils;
import android.util.AndroidException;
import android.view.IWindowManager;
import android.view.View;
@@ -1717,11 +1718,7 @@ public class Am extends BaseCommand {
}
System.out.println("config: " + Configuration.resourceQualifierString(config));
- System.out.print("abi: " + Build.CPU_ABI);
- if (!Build.CPU_ABI2.isEmpty()) {
- System.out.print("," + Build.CPU_ABI2);
- }
- System.out.println();
+ System.out.println("abi: " + TextUtils.join(",", Build.SUPPORTED_ABIS));
} catch (RemoteException e) {
}