OSDN Git Service

Show the icon of the personal space.
authorNicolas Prevot <nprevot@google.com>
Wed, 14 May 2014 13:51:48 +0000 (14:51 +0100)
committerNicolas Prevot <nprevot@google.com>
Mon, 23 Jun 2014 11:25:07 +0000 (12:25 +0100)
commit88cc346d0602e0b173b5076cd0051120682da601
treebbd06698583a7b2d617651a01bd61c372c1ddf31
parentaeb0ed74670e0502a04b689fe1b4fe0f537f4a91
Show the icon of the personal space.

In an intent disambiguation dialog from a managed profile,
when the intent can be forwarded to the personal space:
show the icon of the parent next to "Personal apps".
And put it at the bottom of the dialog.

Change-Id: I523222aac5dde9653e784eb26cf23cdaf018b86c
core/java/android/app/ApplicationPackageManager.java
core/java/android/content/pm/PackageManager.java
core/java/android/content/pm/ResolveInfo.java
services/core/java/com/android/server/pm/PackageManagerService.java
services/core/java/com/android/server/pm/UserManagerService.java
test-runner/src/android/test/mock/MockPackageManager.java