commit | 192400cf334e0e8befe336861a6d214c6a88c993 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Thu Apr 02 09:54:23 2020 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Thu Apr 09 11:01:54 2020 -0700 |
tree | e5702b6ffbf4bd02012766ebada03e3ceec8f460 | |
parent | 2d8d9812e9925ed017c5ce10208b3d807258a2cc [diff] |
Fail install when resources.arsc is compressed If an application targets R+, prevent the application from being installed if the app has a compressed resources.arsc or if the resources.arsc is not aligned on a 4-byte boundary. Resources tables that cannot be memory mapped have to be read into a buffer in RAM and exert unnecessary memory pressure on the system. Bug: 132742131 Test: manual (adding CTS tests) Change-Id: Ieef764c87643863de24531fac12cc520fe6d90d0