Leon Scroggins III
a7501119e3
am 69b8e962: Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
* commit '69b8e962e1b8346b33a2c14889547a0ac00c8b17':
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
2015-04-23 15:48:12 +00:00
Leon Scroggins III
69b8e962e1
Make Bitmap_createFromParcel check the color count. DO NOT MERGE
...
When reading from the parcel, if the number of colors is invalid, early
exit.
Add two more checks: setInfo must return true, and Parcel::readInplace
must return non-NULL. The former ensures that the previously read values
(width, height, etc) were valid, and the latter checks that the Parcel
had enough data even if the number of colors was reasonable.
Also use an auto-deleter to handle deletion of the SkBitmap.
Cherry pick from change-Id: Icbd562d6d1f131a723724883fd31822d337cf5a6
BUG=19666945
Change-Id: I9490d90244e051a4019d6266b2a1cb375a65198f
2015-04-15 08:16:29 -04:00
Jon Larimer
5c9d0de174
am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '545dd853bffbf778a0a44816ac6ed381b13f2158':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 22:01:50 +00:00
Jon Larimer
545dd853bf
am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '9a425aa71c0ae6fb8c9c84d3e71321a44433d861':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:54:31 +00:00
Jon Larimer
9a425aa71c
am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '159aa73574804967aded45d06b70df5a8dd64a58':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:44:17 +00:00
Jon Larimer
159aa73574
am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit 'd403180997898c98f0be15b810c4c9dd9002f92c':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 21:28:59 +00:00
Jon Larimer
d403180997
am 48c95c43: Fix build breakage in older branches by avoiding <> notation
...
* commit '48c95c4370533bf27e537cbca1e64d060a016c5f':
Fix build breakage in older branches by avoiding <> notation
2015-01-30 19:30:57 +00:00
Jon Larimer
48c95c4370
Fix build breakage in older branches by avoiding <> notation
...
Change-Id: I5e3d523dac1f364f52f0d2cab479c1705d667e5a
2015-01-29 15:54:43 -05:00
Jon Larimer
ea63fd7f9b
am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit '88add68942694fc643518bcf5c26f6c3df7e9aa0':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:36:59 +00:00
Jon Larimer
48dad94919
am a43742ec: am 6813f29e: am 76cdbb04: (-s ours) am d0318a63: am 7dd12d76: Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
...
* commit 'a43742ec620cb11faffa2c2b1847dc1accce5736':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:36:55 +00:00
Jon Larimer
88add68942
am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'a5ccca242747d59233ec5ecebc20d4a721e7850e':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:32:09 +00:00
Jon Larimer
a43742ec62
am 6813f29e: am 76cdbb04: (-s ours) am d0318a63: am 7dd12d76: Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
...
* commit '6813f29e3247f0567b77fe7eb451215b5fadf67b':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:32:05 +00:00
Jon Larimer
a5ccca2427
am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit '2982d64802ed0d5b59130680c43485e9d7862e50':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:25:28 +00:00
Jon Larimer
6813f29e32
am 76cdbb04: (-s ours) am d0318a63: am 7dd12d76: Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
...
* commit '76cdbb0475fe881c8e7320c277e5ea4848be5bff':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:25:24 +00:00
Jon Larimer
2982d64802
am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'de9a76ed997c300a6c5f2f82c517719503af9045':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:12:01 +00:00
Jon Larimer
76cdbb0475
am d0318a63: am 7dd12d76: Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
...
* commit 'd0318a63e51107d5589d8970b079c27d8f788c5a':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:11:57 +00:00
Jon Larimer
7ab0ac6927
am 64d6bacf: am 2f4ad45d: Merge "DO NOT MERGE Restore calling identity before checking permission" into klp-dev
...
* commit '64d6bacf13e4ae913c52b773439a542dc5b2b714':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:02:27 +00:00
Jon Larimer
de9a76ed99
am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
...
* commit 'fc731e6e40f6f449b8e7ac72c2cd36a57c04a32b':
Fix ParceledListSlice to enforce the same concrete types among its elements.
2015-01-29 18:00:58 +00:00
Jon Larimer
d0318a63e5
am 7dd12d76: Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
...
* commit '7dd12d7633663c7f5802bdaaf8e7232a48aba811':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 18:00:55 +00:00
Jon Larimer
64d6bacf13
am 2f4ad45d: Merge "DO NOT MERGE Restore calling identity before checking permission" into klp-dev
...
* commit '2f4ad45d60aac5b2b025e9eac34e289d406645dc':
DO NOT MERGE Restore calling identity before checking permission
2015-01-29 17:55:10 +00:00
Jon Larimer
fc731e6e40
Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev
2015-01-29 17:48:58 +00:00
Jon Larimer
2f4ad45d60
Merge "DO NOT MERGE Restore calling identity before checking permission" into klp-dev
2015-01-29 17:48:24 +00:00
Jon Larimer
7dd12d7633
Merge "DO NOT MERGE Restore calling identity before checking permission" into jb-mr2-dev
2015-01-29 17:48:20 +00:00
Adam Lesinski
f741c37273
Fix ParceledListSlice to enforce the same concrete types among its elements.
...
Bug:17671747
Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966
(cherry picked from commit 3df1c38ee098872352086e03d6f1adb16796ee29)
2015-01-28 10:47:54 +00:00
Leon Scroggins III
1e0d4b5611
am 1dbbc204: am 6106f6a4: am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '1dbbc2045ae16a4923b30c9576703d02a4363529':
Handle bad ninepatch data.
2015-01-27 22:48:29 +00:00
Leon Scroggins III
1dbbc2045a
am 6106f6a4: am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '6106f6a490cb5816602e8e3ae84a5c653dda44d3':
Handle bad ninepatch data.
2015-01-27 22:42:03 +00:00
Leon Scroggins III
6106f6a490
am 93522968: am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '9352296810926eae663477526545a55e1b1f7a27':
Handle bad ninepatch data.
2015-01-27 22:31:47 +00:00
Leon Scroggins III
9352296810
am 01287549: am 9a6143fa: Handle bad ninepatch data.
...
* commit '01287549ad415c51377683696eb37c362d43061a':
Handle bad ninepatch data.
2015-01-27 22:17:11 +00:00
Leon Scroggins III
01287549ad
am 9a6143fa: Handle bad ninepatch data.
...
* commit '9a6143fab7d93797e4b22a12b89e07c160e5c31d':
Handle bad ninepatch data.
2015-01-27 22:01:08 +00:00
Leon Scroggins III
9a6143fab7
Handle bad ninepatch data.
...
Changes proposed by Ben Hawkes of Google Project Zero.
NinePatchPeeker.cpp:
Instead of asserting, return false for bad data.
ResourceTypes.h:
Store ninepatch values as unsigned.
BUG:19151999
Change-Id: Ibe35e7569f632c6bb8a34a7701e26bb6ed547ec2
(cherry picked from commit a730ef3f77fc495bc90199b4d45efab26d609782)
2015-01-27 19:04:57 +00:00
Ricardo Cervera
e8f6bd4846
am 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '98f07d901492335f51258655fbfa032fa3f2d58e':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:21:32 +00:00
Ricardo Cervera
98f07d9014
am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
* commit '92f6a747085b4b5ed692de4bdb0050c096eae393':
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
2015-01-16 17:14:44 +00:00
Todd Kennedy
8719f683d2
DO NOT MERGE Restore calling identity before checking permission
...
Using the system service identity to check the CHANGE_CONFIGURATION
permission isn't likely to catch a security violation. Changing
back to the original caller and then checking permissions is
preferred.
Cherry picked from lmp. Fixes bug 15989465.
Change-Id: Iff08d04422bcc052a487194154f1fd0d727d38f4
2015-01-14 15:40:46 -08:00
Todd Kennedy
7dba93c087
DO NOT MERGE Restore calling identity before checking permission
...
Using the system service identity to check the CHANGE_CONFIGURATION
permission isn't likely to catch a security violation. Changing
back to the original caller and then checking permissions is
preferred.
Cherry picked from lmp. Fixes bug 15989465.
Change-Id: Iff08d04422bcc052a487194154f1fd0d727d38f4
2015-01-14 15:33:21 -08:00
Deepanshu Gupta
bb600de6e7
am 74147527: am 8505c387: Special case AppCompat to show action bar.
...
* commit '74147527357b9abd9d30b3a2dbd72a5172a35625':
Special case AppCompat to show action bar.
2015-01-10 02:16:44 +00:00
Deepanshu Gupta
7414752735
am 8505c387: Special case AppCompat to show action bar.
...
* commit '8505c3870a17f41d23329344fe381cd9ff324bd2':
Special case AppCompat to show action bar.
2015-01-10 02:10:55 +00:00
Deepanshu Gupta
dbd64f7c90
Support Locale.toLanguageTag on Java 6
...
Change-Id: I255e79e2c288cd24b350b7c26128bbbb0b2cb9a3
(cherry picked from commit 5cd9dde5a2a77c5095f985186d8f03147fd22870)
2015-01-09 17:43:12 -08:00
Deepanshu Gupta
51fb7754fc
LayoutLib: Fix System.arraycopy()
...
Framework has specialized versions of java.lang.System.arraycopy() for
all primitive data types. These versions are not present on the Desktop
VM. This change replaces calls to any of the specialized versions with
the more general alternative - the one using Objects.
Note that this was already being done for char.
Change-Id: If1584125fea8ecc080fb39a5ee6cdb4d922d0c98
(cherry picked from commit e1960cc0b541cda93db94de5bef42dff922b9ec3)
2015-01-09 17:03:54 -08:00
Deepanshu Gupta
8505c3870a
Special case AppCompat to show action bar.
...
Bug: http://b.android.com/78944
Change-Id: I02d68d592d812016744716f99376cfefd519b21b
2015-01-10 00:29:52 +00:00
Eric Laurent
8db769dd56
am df878bd3: am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
...
* commit 'df878bd3fc63f26e91b055e39ba63c53c14b31a0':
AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:33:52 +00:00
Eric Laurent
df878bd3fc
am ced2f74a: am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
...
* commit 'ced2f74ac170439231f189e31538b9f403909966':
AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:29:07 +00:00
Eric Laurent
ced2f74ac1
am e8c1a97f: am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
...
* commit 'e8c1a97fa33797df528265b6f0b0c2c39ac2c589':
AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:24:02 +00:00
Eric Laurent
e8c1a97fa3
am 3b92fc04: am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
...
* commit '3b92fc04700a68dab3c3c4a873535837c4e51e8b':
AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:20:06 +00:00
Eric Laurent
3b92fc0470
am 1c2b0d52: AudioEffect JNI: use new max preprocessing constant
...
* commit '1c2b0d52144dc94a7d1dcefb7e4fbd7fb29f5202':
AudioEffect JNI: use new max preprocessing constant
2014-11-10 23:11:00 +00:00
Eric Laurent
1c2b0d5214
AudioEffect JNI: use new max preprocessing constant
...
Bug: 18226810.
Change-Id: Ica5677da247268306b34dfce38f25394586817fd
(cherry picked from commit b27a8a5bcc40054f6d775d070bc2de6eb996d1c2)
2014-11-10 19:44:15 +00:00
Ricardo Cervera
58dc8c42f2
am e7cd5f2e: Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs
...
* commit 'e7cd5f2e9cf76ed789534dfe5cc60c27a3b4984f':
docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200
2014-11-06 17:03:00 +00:00
Ricardo Cervera
e7cd5f2e9c
Merge "docs: Add API_UNAVAILABLE case for Wear. Bug: 17753200" into klp-modular-docs
2014-11-06 16:57:14 +00:00
Ricardo Cervera
92f6a74708
docs: Added info on noHistory and onActivityResult(). Bug: 13807256
...
Change-Id: Iae4901a311e76401396f89c552e5b27a49c65c83
2014-11-05 08:55:51 -08:00
Tom Taylor
6209d4e4d8
am 7c570346: am 47419a44: am 192a3904: am 23fb2972: am d7044fe1: am b2e54c1b: am 75e7fbaa: am 37906e6e: am 44f6d0d5: am 4c5b16d7: am 66aa87ae: am 90743d64: am bfb7ffeb: Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager
...
* commit '7c570346082f7f0399614b87f9a4c67d1ae1f1c6':
Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager
2014-11-04 19:18:50 +00:00
Tom Taylor
7c57034608
am 47419a44: am 192a3904: am 23fb2972: am d7044fe1: am b2e54c1b: am 75e7fbaa: am 37906e6e: am 44f6d0d5: am 4c5b16d7: am 66aa87ae: am 90743d64: am bfb7ffeb: Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager
...
* commit '47419a443591ea3c641da8720514e1384dd75440':
Externally Reported Moderate Security Issue: SQL Injection in WAPPushManager
2014-11-04 19:14:26 +00:00