From 602e0bfceedb5a04dccef452560b1eaf458b6394 Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Wed, 13 Jul 2011 16:29:22 -0700 Subject: Adjust API level for phone comparator Change-Id: Ia8220aca9c4bb338d8a26d9878f56449060cd51d --- .../internal/editors/layout/configuration/ConfigurationComposite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclipse/plugins/com.android.ide.eclipse.adt') 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 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()); -- cgit v1.1