diff options
author | Matt Sarett <msarett@google.com> | 2016-03-16 18:22:59 -0400 |
---|---|---|
committer | Matt Sarett <msarett@google.com> | 2016-03-16 18:36:06 -0400 |
commit | 48efde4fb14cfe160747a8148b8e1a810c8f1c6e (patch) | |
tree | 8434e93fc9109a3b8db7e0fe604ad984a94f2227 /tools/aapt/Bundle.h | |
parent | dbdca5b29989ce2c0cacfeea99db03b799cc3fb7 (diff) |
Work-around paletted image decoding bug in SDK_JELLYBEAN
Because there is a bug decoding paletted images in SDK_JELLYBEAN,
we need to avoid encoding paletted images for apps that support
SDK_JELLYBEAN and earlier.
BUG=27643907
Change-Id: Ib7d51ed87435cd36507915d62b0057c06f18b2b6
Diffstat (limited to 'tools/aapt/Bundle.h')
-rw-r--r-- | tools/aapt/Bundle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Bundle.h b/tools/aapt/Bundle.h index c4495509614e..ca06ac440731 100644 --- a/tools/aapt/Bundle.h +++ b/tools/aapt/Bundle.h @@ -249,7 +249,7 @@ public: * above. SDK levels that have a non-numeric identifier are assumed * to be newer than any SDK level that has a number designated. */ - bool isMinSdkAtLeast(int desired) { + bool isMinSdkAtLeast(int desired) const { /* If the application specifies a minSdkVersion in the manifest * then use that. Otherwise, check what the user specified on * the command line. If neither, it's not available since |