]> git.saurik.com Git - android/aapt.git/commit
AI 144342: Fix bag (string-array,etc) behavior with overlays.
authorRobert Greenwalt <>
Thu, 2 Apr 2009 23:55:50 +0000 (16:55 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Thu, 2 Apr 2009 23:55:50 +0000 (16:55 -0700)
commit7648681357a841c6af59c5ce38e1656842e7d9ac
tree9e4634b08b0dba152b2204c81ae1a8b8f08cb687
parent36b80681bb854de8ac598ea449ef024a14e454a4
AI 144342: Fix bag (string-array,etc) behavior with overlays.
  We used to replace elements in the default with elements from
  the overlay.  This change causes us to empty the array first
  so if the overlay array is smaller we don't end up with elements
  from the default array showing through at the end of the array.
  Ex: [A,B,C] and overlay [D] should give [D] but used to give
  [D,B,C].
  BUG=1754390

Automated import of CL 144342
ResourceTable.cpp
ResourceTable.h