diff options
author | Christopher Tate <ctate@google.com> | 2013-09-05 16:38:58 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2013-09-13 12:16:00 -0700 |
commit | a2a0850de8e7324db37e0595d5374bb9c9903461 (patch) | |
tree | 2c772f6c774385b6f254885ccb2c38dc3b7a23d4 /test-runner/src | |
parent | 9210bc85545f31973c957b5179e6a82d05f473c6 (diff) | |
download | frameworks_base-a2a0850de8e7324db37e0595d5374bb9c9903461.zip frameworks_base-a2a0850de8e7324db37e0595d5374bb9c9903461.tar.gz frameworks_base-a2a0850de8e7324db37e0595d5374bb9c9903461.tar.bz2 |
Add hidden API for querying available 'home' activities
To support improved home-app selection UX in Settings.
Bug 9958444
Change-Id: I106090784618bf7bea6fce28f4f9b9fb8480d310
Diffstat (limited to 'test-runner/src')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 4683534..5f944f6 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -46,6 +46,7 @@ import android.content.res.XmlResourceParser; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Binder; +import android.os.RemoteException; import android.os.UserHandle; import java.util.List; @@ -543,6 +544,12 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide - hidden in superclass */ + @Override + public ComponentName getHomeActivities(List<ResolveInfo> outActivities) { + throw new UnsupportedOperationException(); + } + @Override public String[] getSystemSharedLibraryNames() { throw new UnsupportedOperationException(); |