diff options
author | wangmingming1 <wangmingming1@xiaomi.com> | 2017-11-21 17:29:38 +0800 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2017-12-01 23:39:59 +0000 |
commit | 03b74909efb0f613b9b3eaca698c55c6f7a163f8 (patch) | |
tree | a21f9f1bb2268f89dda050a686e385ec70047485 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | db122f90d9e497b64f9e15dfb91fed98fbe18165 (diff) |
Prevent system app upgrading from multi-arch to single-arch
We should not let user to manully upgrade a system app which supports
multi-arch to a newer version which supports only one cpu abi. Take
webview as an example, if the user upgraded the webview to a version
supports only armeabi-v7a on Nexus 5X by mistake, then any app supports
only arm64-v8a and uses webview to display web contents would not work
properly then as loading a 32bit native lib inside a 64bit mode process
is not allowed.
Test: Manual
Change-Id: I567be7707fc18421ff686c1e8b1110dec517e06d
Signed-off-by: wangmingming1 <wangmingming1@xiaomi.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions