aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2011-07-15 15:09:24 -0700
committerAndroid Code Review <code-review@android.com>2011-07-15 15:09:24 -0700
commitea5c9aead265d081c3af3705ac7b19e243fa183f (patch)
tree14e4b8fd37d4a8142565be088bb5859b4bfb4ce9 /eclipse/plugins/com.android.ide.eclipse.adt
parent88c8558a59d40d44123ac362934706f78660ce3b (diff)
parent602e0bfceedb5a04dccef452560b1eaf458b6394 (diff)
downloadsdk-ea5c9aead265d081c3af3705ac7b19e243fa183f.zip
sdk-ea5c9aead265d081c3af3705ac7b19e243fa183f.tar.gz
sdk-ea5c9aead265d081c3af3705ac7b19e243fa183f.tar.bz2
Merge "Adjust API level for phone comparator"
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java
index 42c5344..bc54780 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ConfigurationComposite.java
@@ -1080,9 +1080,9 @@ public class ConfigurationComposite extends Composite {
}
private ConfigMatch selectConfigMatch(List<ConfigMatch> matches) {
- // API 11-12: look for a x-large device
+ // API 11-13: look for a x-large device
int apiLevel = mProjectTarget.getVersion().getApiLevel();
- if (apiLevel >= 11 && apiLevel < 13) {
+ if (apiLevel >= 11 && apiLevel < 14) {
// TODO: Maybe check the compatible-screen tag in the manifest to figure out
// what kind of device should be used for display.
Collections.sort(matches, new TabletConfigComparator());