summaryrefslogtreecommitdiffstats
path: root/test-runner/src/android/test/mock
diff options
context:
space:
mode:
authorAlexandra Gherghina <alexgherghina@google.com>2014-07-29 15:08:31 +0100
committerAlexandra Gherghina <alexgherghina@google.com>2014-08-06 14:52:50 +0000
commite41ce995a0c2c6b167ed64b51e34865c5d58ea4d (patch)
treee3663f79d4d41e849c1842a9673e619a1196b58e /test-runner/src/android/test/mock
parentfc4a648f0eba90108c5e0fc80520ce184c11796a (diff)
downloadframeworks_base-e41ce995a0c2c6b167ed64b51e34865c5d58ea4d.zip
frameworks_base-e41ce995a0c2c6b167ed64b51e34865c5d58ea4d.tar.gz
frameworks_base-e41ce995a0c2c6b167ed64b51e34865c5d58ea4d.tar.bz2
Add hidden API for removing cross-profile package filters
Bug: 16646591 Change-Id: Iaf6837fe4390ac1018c49df366ea434776ed7244
Diffstat (limited to 'test-runner/src/android/test/mock')
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java
index 8ce7888..c84f40e 100644
--- a/test-runner/src/android/test/mock/MockPackageManager.java
+++ b/test-runner/src/android/test/mock/MockPackageManager.java
@@ -772,6 +772,15 @@ public class MockPackageManager extends PackageManager {
/**
* @hide
*/
+ @Override
+ public void removeCrossProfileIntentsForPackage(String packageName, int sourceUserId,
+ int targetUserId) {
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * @hide
+ */
public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) {
throw new UnsupportedOperationException();
}