Skip to content
Commit 2cd9d261 authored by liulvping's avatar liulvping
Browse files

Reset target sdk version of ParseTypeImpl



In device booting, PackageParser2 uses a thread
local ParseTypeImpl obj as shared result and reset
it before parsing everty time. But it doesn't reset
the target sdk version, which could make deferError
returned unexpected error, cause apk scaned failed
and deleted by the system.

Test: atest com.android.server.pm.parsing

Change-Id: Ie6fbc4b79e94943c9282206b1ef6d20b4129fa0b
Signed-off-by: default avatarliulvping <liulvping@xiaomi.com>
parent 2a088541
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment