From 132db75a1fa9b41d3000c6cb29bd3d90a7d8ef28 Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Mon, 11 Jun 2012 14:29:23 +0800 Subject: [PATCH] Don't display loading text when loading album sets. bug:6635606 Change-Id: I55f0dafd5ead8455ed8bee1f03c06ca03662ebbd --- src/com/android/gallery3d/ui/AlbumSetSlotRenderer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/android/gallery3d/ui/AlbumSetSlotRenderer.java b/src/com/android/gallery3d/ui/AlbumSetSlotRenderer.java index 7b4a86651..cca8d40a5 100644 --- a/src/com/android/gallery3d/ui/AlbumSetSlotRenderer.java +++ b/src/com/android/gallery3d/ui/AlbumSetSlotRenderer.java @@ -170,12 +170,7 @@ public class AlbumSetSlotRenderer extends AbstractSlotRenderer { protected int renderLabel( GLCanvas canvas, AlbumSetEntry entry, int width, int height) { - // We show the loading message only when the album is still loading - // (Not when we are still preparing the label) Texture content = checkTexture(entry.labelTexture); - if (entry.album == null) { - content = mDataWindow.getLoadingTexture(); - } if (content != null) { int b = AlbumLabelMaker.getBorderSize(); int h = content.getHeight(); -- 2.11.0