summaryrefslogtreecommitdiffstats
path: root/cmds/bootanimation/BootAnimation.h
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2013-12-03 13:16:03 +0000
committerNarayan Kamath <narayan@google.com>2013-12-09 16:23:16 +0000
commitafd31e08299008fdc5c2813f21b2573f29dc53df (patch)
tree7f83dd8f1e7ed71d4fe8ce280841e43ce275ac6d /cmds/bootanimation/BootAnimation.h
parent6e2d0c1d91f644ab50e0c0b7cae4306262a4ca41 (diff)
downloadframeworks_base-afd31e08299008fdc5c2813f21b2573f29dc53df.zip
frameworks_base-afd31e08299008fdc5c2813f21b2573f29dc53df.tar.gz
frameworks_base-afd31e08299008fdc5c2813f21b2573f29dc53df.tar.bz2
Reimplement ZipFileRO in terms of libziparchive.
This lets us share zip archive processing code with both the runtime (Art, dalvik) and critical java code (StrictJarFile). This change also moves several utility methods to ZipUtils and dedups code across several zip inflation methods. One of the side effects of this change is that several processing loops are now O(n) instead of O(n^2). bug: 10193060 Change-Id: I3c7188496837a47246c4f342e45485a70fef3169
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r--cmds/bootanimation/BootAnimation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h
index fa908eb..22963c2 100644
--- a/cmds/bootanimation/BootAnimation.h
+++ b/cmds/bootanimation/BootAnimation.h
@@ -95,8 +95,7 @@ private:
EGLDisplay mSurface;
sp<SurfaceControl> mFlingerSurfaceControl;
sp<Surface> mFlingerSurface;
- bool mAndroidAnimation;
- ZipFileRO mZip;
+ ZipFileRO *mZip;
};
// ---------------------------------------------------------------------------