OSDN Git Service

Clean up AssetManager::scanAndMergeZipLocked
authorYusuke Sato <yusukes@google.com>
Mon, 3 Aug 2015 23:21:10 +0000 (16:21 -0700)
committerYusuke Sato <yusukes@google.com>
Tue, 4 Aug 2015 00:24:42 +0000 (17:24 -0700)
commit05f648e1d3cbbe31173d9134cda6056c79d5a4a4
treef5515069c0734f708dad4dc6a637f0c4db81e3a0
parent957c23775f46c26142bc6d4f9a592ac4586a9ef8
Clean up AssetManager::scanAndMergeZipLocked

Now that ZipFileRO::startIteration supports prefix/suffix matching,
we can pass dirName to the function for simpler code and slightly
better performance.

(cherry-pick of c796ad0a8be6df4a3b354690dfe5ce1df8136c09)

Change-Id: I0e2ac58de28020c2af8d8e569a97592b09596185
libs/androidfw/AssetManager.cpp