OSDN Git Service

PackageManager: Rename foreign use markers on app installation.
authorNarayan Kamath <narayan@google.com>
Thu, 2 Jun 2016 13:01:16 +0000 (14:01 +0100)
committerNarayan Kamath <narayan@google.com>
Mon, 6 Jun 2016 13:38:52 +0000 (14:38 +0100)
commit110a12dff13276baa12e8587449a1a7f3a318451
tree52074e22f6bf07e3f83db898475552242eb705be
parent258aa3e56b02b95e8e855ef949a29babe178b4a5
PackageManager: Rename foreign use markers on app installation.

The foreign use markers contain the codePath for a given executable
dex file, so we'll need to rename them when the codePath changes
during an application update. If we don't do this, we might compile
that are used widely across processes (such as GMS core) with
suboptimal filters.

This seems like a messy and brittle design in general, and will be
rewritten post N so that we don't rely on file system topology.

bug: 28998083

Change-Id: Ie4f3995ba52f098edb911b5a388c63696bbd77ac
services/core/java/com/android/server/pm/PackageManagerService.java