OSDN Git Service

Fix potential aapt crash when processing overlay.
authorXavier Ducrohet <xav@android.com>
Thu, 4 Mar 2010 23:21:59 +0000 (15:21 -0800)
committerXavier Ducrohet <xav@android.com>
Fri, 5 Mar 2010 19:11:28 +0000 (11:11 -0800)
commit83f4c0994fd34f9b35eeb2c14908d9e6c2e15930
treee5932102ec13dae4cdec89244315d7968e70ed33
parent687c1330641b614e44c11842b37477666ae63c23
Fix potential aapt crash when processing overlay.

If an overlay has a type of resources that's not defined in
the main res pool, then aapt would crash.

This dynamically create new ResourceTypeSet when needed
when processing the overlays

Change-Id: I67bc3622281bde73cf42f37a0983798d3f658ce2
tools/aapt/Resource.cpp