OSDN Git Service

Use resolved ActivityInfo to set instant app installer
authorFyodor Kupolov <fkupolov@google.com>
Fri, 24 Mar 2017 18:38:16 +0000 (11:38 -0700)
committerFyodor Kupolov <fkupolov@google.com>
Fri, 24 Mar 2017 20:47:32 +0000 (13:47 -0700)
commit4b0aa4db3a0d8101293832dd554b53cb8a0114b9
tree336ab24494364244ad35f546a2c80021a509ac36
parent0e74c95c0cb2be2dc82598fc6529883c90678f99
Use resolved ActivityInfo to set instant app installer

Previously we were only using the component name, which is not always
enough.

Now the resolved ActivityInfo is used and only 'flags'/'exported' and
'enabled' attributes are modified.

Test: Manual
Bug: 34751853
Change-Id: I32a2a2bd98cc5d73ab02ccfc100868b826bb8105
services/core/java/com/android/server/pm/PackageManagerService.java