diff options
author | Nicolas Prevot <nprevot@google.com> | 2014-05-14 14:51:48 +0100 |
---|---|---|
committer | Nicolas Prevot <nprevot@google.com> | 2014-06-23 12:25:07 +0100 |
commit | 88cc346d0602e0b173b5076cd0051120682da601 (patch) | |
tree | bbd06698583a7b2d617651a01bd61c372c1ddf31 /test-runner | |
parent | aeb0ed74670e0502a04b689fe1b4fe0f537f4a91 (diff) | |
download | frameworks_base-88cc346d0602e0b173b5076cd0051120682da601.zip frameworks_base-88cc346d0602e0b173b5076cd0051120682da601.tar.gz frameworks_base-88cc346d0602e0b173b5076cd0051120682da601.tar.bz2 |
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
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 2b884ae..1d10729 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -44,6 +44,7 @@ import android.content.pm.VerificationParams; import android.content.pm.VerifierDeviceIdentity; import android.content.res.Resources; import android.content.res.XmlResourceParser; +import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.UserHandle; @@ -733,4 +734,11 @@ public class MockPackageManager extends PackageManager { int targetUserId) { throw new UnsupportedOperationException(); } + + /** + * @hide + */ + public Bitmap getUserIcon(int userId) { + throw new UnsupportedOperationException(); + } } |