]> git.saurik.com Git - android/aapt.git/commit - Resource.cpp
Fix minSdkVersion scanning to not throw warnings
authorKenny Root <kroot@google.com>
Thu, 18 Mar 2010 19:12:11 +0000 (12:12 -0700)
committerKenny Root <kroot@google.com>
Thu, 18 Mar 2010 19:12:11 +0000 (12:12 -0700)
commit5af431483a08f10bea3834db1ee7304e735c359c
tree616b453392c31b7b7d2f6a225a4b3d51c9d60b9b
parent4710896d5093b6b0447ac97bfc2b88625ea5fe1c
Fix minSdkVersion scanning to not throw warnings

For the UTF8/UTF16 switch code, we needed to know what was the
minSdkVersion specified as early as possible. Unfortunately, this threw
warnings when the SDK was compiling since we always set this field in
the Bundle.

This splits out the field used by the initial AndroidManifest.xml scan
to a separate one that we won't attempt to re-insert into the
AndroidManifest.xml  This also switches the logic to better reflect the
preference of UTF-8 over UTF-16; previously UTF-16 was the default.

Change-Id: Ia81f6b21047043ebb711eb24c2c3718534979ef6
Bundle.h
Main.cpp
Resource.cpp
ResourceTable.cpp