aboutsummaryrefslogtreecommitdiffstats
path: root/assetstudio/src
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-07-13 14:15:32 -0700
committerXavier Ducrohet <xav@android.com>2012-07-13 14:15:32 -0700
commit44869ed53465d6d61a8148718fde0ea1d484322f (patch)
treec053d9494b181a5234977a079d26d2031f8410d3 /assetstudio/src
parentf66a3d7eea388ac57b5339544f32b249b4f0cd4d (diff)
downloadsdk-44869ed53465d6d61a8148718fde0ea1d484322f.zip
sdk-44869ed53465d6d61a8148718fde0ea1d484322f.tar.gz
sdk-44869ed53465d6d61a8148718fde0ea1d484322f.tar.bz2
Ignore xxhigh density in Asset Studio.
Change-Id: I1cf4c6e2f28759fa87652e44b9343ae985fed9f9
Diffstat (limited to 'assetstudio/src')
-rw-r--r--assetstudio/src/com/android/assetstudiolib/GraphicGenerator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/assetstudio/src/com/android/assetstudiolib/GraphicGenerator.java b/assetstudio/src/com/android/assetstudiolib/GraphicGenerator.java
index 0124000..5d18d4d 100644
--- a/assetstudio/src/com/android/assetstudiolib/GraphicGenerator.java
+++ b/assetstudio/src/com/android/assetstudiolib/GraphicGenerator.java
@@ -163,7 +163,8 @@ public abstract class GraphicGenerator {
if (!density.isValidValueForDevice()) {
continue;
}
- if (density == Density.TV) {
+ if (density == Density.TV || density == Density.XXHIGH) {
+ // TODO don't manually check and instead gracefully handle missing stencils.
// Not yet supported -- missing stencil image
continue;
}