- Feb 11, 2020
-
-
Leon Scroggins III authored
Bug: 135133301 Test: AImageDecoderTest AImageDecoderHeaderInfo_getWidth/Height return an int32_t. Ensure at creation time that the actual image dimensions will fit in int32_t. In today's code, this should almost never happen: - PNGs have their dimensions limited to 1000000 - see PNG_USER_WIDTH_MAX and PNG_USER_HEIGHT_MAX in pnglibconf.h - JPEGs are limited to 65500 - see JPEG_MAX_DIMENSION in jmorecfg.h - WebPs' dimensions are encoded in 14 bits - GIFs' dimensions are encoded in 16 bits - SkBmpCodec and SkWbmpCodec require dimensions to fit in 16 bits - SkIcoCodec uses SkBmpCodec or SkPngCodec, so their limits are enforced - libheif limits to a size smaller than int32_t It might be possible for a DNG image to be larger, and some of the above are configurable. Just in case, make AImageDecoder_create fail on such a large image. Change-Id: Id520dfbc0581f990c4f52cb6675e987bf71c558c
-
- Feb 06, 2020
-
-
Automerger Merge Worker authored
Merge "Add permissions for using PlatformCompat methods" am: 7202e904 am: 69ca2fcf am: 9e28d211 Change-Id: Id9b74f1f74f3e4efaaa3e1657a64b7f8d229cc01
-
Automerger Merge Worker authored
Change-Id: If2d2e1010e39dcdefb8da8a9ef1fd238eed407dd
-
Automerger Merge Worker authored
Change-Id: Iffdf7ffc1265fce941eb4cd519031da4575ac53a
-
Andrei-Valentin Onea authored
-
Antoan Angelov authored
-
Andrei Onea authored
- READ_COMPAT_CHANGE_CONFIG is required to read the current state of the config - LOG_COMPAT_CHANGE is required to log the status of a compat change for a package and/or uid to statsd - OVERRIDE_COMPAT_CHANGE_CONFIG is required to add overrides The permissions must be signature|privileged, as there are already examples of code which this would not be sufficient (e.g. MediaProvider). This is a re-landing of https://r.android.com/1209240, which was reverted due to http://b/142942524. The actual fix was done in http://ag/10234812. Bug: 142650523 Test: atest PlatformCompatTest Test: atest PlatformCompatPermissionsTest Change-Id: Ie9429477c9a1725b5cb67756787bf742038e5d2b
-
TreeHugger Robot authored
Merge "Add a flag to allow system health experiment for the behavior change ... of getDefaultTextClassifierImplementation()"
-
TreeHugger Robot authored
-
Ben Murdoch authored
-
Narayan Kamath authored
-
Dianne Hackborn authored
The public platform version no longer can be a codename, it is always the most recently released platform. A new build property and API provides either the offical version or the current codename as appropriate. This will avoid breaking apps that look at the platform version while development is under a codename. Bug: 143175463 Test: manual Exempt-From-Owner-Approval: Relanding change with zero delta in this project. Change-Id: I4407df40151d884293fa9d301a401b65bedb5527
-
TreeHugger Robot authored
-
Riddle Hsu authored
Assume there are 2 applications A, B with different uids. There are 4 activities A1, A2, B1, B2 with default task affinity and launch mode. After A1 called startActivities(B1, A2, B2): Original : Task(A1, B1, A2, B2) This Change: Task(A1, B1), Task(A2, B2) In other words, the source caller cannot launch its activity above the activity of other application in the same task, and it can still launch activity of other application in its task. Bug: 145669109 Test: atest StartActivityTests# \ testStartActivitiesWithDiffUidNotInSameTask Change-Id: I97bd875146a52f62b8fe82235487ccefb2955e8e
-
TreeHugger Robot authored
-
Hung-ying Tyan authored
-
Automerger Merge Worker authored
Merge "Fix NPE that netd callback call null TetheringConfiguration object" am: 4770588b am: 1e360dac am: 49a7487b Change-Id: Ic43120a6538468eee803682cccf3d20cd16ef5ea
-
Automerger Merge Worker authored
[automerger skipped] Merge "Use Context.NETWORK_POLICY_SERVICE to get network policy service" am: 0daef814 am: 6c76e044 am: 75f4c6c4 -s ours am skip reason: Change-Id I41bc1cce08f81e2d822250f2d620bff7afe4329b with SHA-1 7e963605 is in history Change-Id: I89b2c99f4bfe71e01b97d6d082da6d9fad3f1194
-
Automerger Merge Worker authored
Change-Id: Iae09c0c6e0d0b8cc9018b811c658d7d73e8a729b
-
TreeHugger Robot authored
* changes: Add FlacExtractor to MediaParser Fix MediaParser sniffing
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Automerger Merge Worker authored
Merge "Fix NPE that netd callback call null TetheringConfiguration object" am: 4770588b am: 1e360dac Change-Id: If05cbd147cfa8215d11f7646c52fa0c8f1276070
-
Automerger Merge Worker authored
Merge "Use Context.NETWORK_POLICY_SERVICE to get network policy service" am: 0daef814 am: 6c76e044 Change-Id: I6dd16740abbdfe46f1fe0fa34629a0c27f5cad32
-
Automerger Merge Worker authored
Change-Id: I5f6f86d01cf520759ab1be05867380d770fbf945
-
Automerger Merge Worker authored
Change-Id: Id445c7151b8828df42e362eb2391357a18d06dee
-
Mark Chien authored
-
Tsung-Mao Fang authored
-
Automerger Merge Worker authored
Change-Id: I50d31a50c8a0e01322e79fcd7a47f5883fe3feb4
-
Tsung-Mao Fang authored
In order to prevent DoS attack from icon size, we're usinga system lib to help convert any loaded drawable into a flattened bitmap with an appropriate size. Test: Rebuild Bug: 33646131 Change-Id: I92e76fb4e4c23c4995f63ebd2df8cbe0a349fbce
-
Automerger Merge Worker authored
Change-Id: I5cf10a143bba4351efa2ea22fc5ccddb732f3044
-
Aaron Huang authored
-
Neil Fuller authored
-
Automerger Merge Worker authored
[automerger skipped] Merge changes from topic "boottime" am: 2a53c0c1 am: 50d194fa am: 42ccd077 -s ours am skip reason: Change-Id I5ea25cba29ab8b4de630308eaba2b5d6f30a29b7 with SHA-1 a5a696a7 is in history Change-Id: Ia26e1a9f61f7153e331bc90ca62c6622b4ab4598
-
Automerger Merge Worker authored
[automerger skipped] Rename FS_MGR_FS_STAT into FS_MGR_FS_STAT_DATA_PARTITION am: b95f21f9 am: 6533e029 am: 3c581706 -s ours am skip reason: Change-Id I3f1280ce84df1137a92ac59b15937a32c7ac8d01 with SHA-1 df1534db is in history Change-Id: Ibc9b65fee185b9b57903ace5165888fa5eb2058a
-
Automerger Merge Worker authored
[automerger skipped] Add proto definition for boottime metrics am: 352c9f6f -s ours am: 39ae2191 -s ours am: 00e46d1b -s ours am skip reason: Change-Id I26cbca3b6f2d9f990dde31ac0880272ac141ff36 with SHA-1 bc3ce006 is in history Change-Id: I118eafce4d6798cbcab762378eb5ba6f80257705
-
Automerger Merge Worker authored
Change-Id: I1beb6ff7229298bf4d79a46dde715ba8912f2c27
-
Automerger Merge Worker authored
Change-Id: I73bfa491bd9000899e7acd9f972272de7b2ffb84
-
Automerger Merge Worker authored
[automerger skipped] Add proto definition for boottime metrics am: 352c9f6f -s ours am: 39ae2191 -s ours am skip reason: Change-Id I26cbca3b6f2d9f990dde31ac0880272ac141ff36 with SHA-1 bc3ce006 is in history Change-Id: I7919dfba07fe778e004e80718d7fc8f15210f580
-
TreeHugger Robot authored
-