OSDN Git Service

ResStringPool: Prevenet boot loop from se fix
authorRyan Mitchell <rtmitchell@google.com>
Mon, 21 May 2018 20:59:23 +0000 (13:59 -0700)
committerRyan Longair <rlongair@google.com>
Tue, 12 Jun 2018 18:14:52 +0000 (11:14 -0700)
commita8faaefba2aee4df0673014dbc4c263d1c6d9ad1
tree9d957a744179c9f06ebdce06b01f344ba9320cb8
parent9dceb027701a1f638484bfeee3749d8399d38918
ResStringPool: Prevenet boot loop from se fix

Changes the logs adding in a previous security fix to warnings so
devices with malformed APKs currently on them will not undergo DOS when
they are upgraded to P.

Bug: 79724567
Test: run cts -m CtsAppSecurityHostTestCases \
          -t android.appsecurity.cts.CorruptApkTests

Change-Id: Ied54e4bb14abdaf79da562022c7ea6075187c1f8
(cherry picked from commit f05f47b2c1838529e682ad8f931d3da72244b1a1)
(cherry picked from commit c31cf80008fdb06ea8e1eab9764096653e7854b1)
libs/androidfw/ResourceTypes.cpp