diff options
author | Nicolas Prevot <nprevot@google.com> | 2014-05-16 18:25:26 +0100 |
---|---|---|
committer | Nicolas Prevot <nprevot@google.com> | 2014-05-23 13:16:01 +0100 |
commit | 8194899071e0a84c95ef10614bd1b9485b48f589 (patch) | |
tree | 738be39b34e5ea6e64b9d7ac2de1aed18802bfe4 /test-runner/src/android/test | |
parent | 94d76b3ba962d10bb5c7e45d3dce4355359b999e (diff) | |
download | frameworks_base-8194899071e0a84c95ef10614bd1b9485b48f589.zip frameworks_base-8194899071e0a84c95ef10614bd1b9485b48f589.tar.gz frameworks_base-8194899071e0a84c95ef10614bd1b9485b48f589.tar.bz2 |
Rename code related to cross-profile intents.
For example, replace ForwardingIntentFilter by CrossProfileIntentFilter
Bug: 15023443
Change-Id: Iee8cdf578817ef9956bcdece803a49b0d07b67f7
Diffstat (limited to 'test-runner/src/android/test')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 3190fb0..17db1b4 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -707,8 +707,8 @@ public class MockPackageManager extends PackageManager { * @hide */ @Override - public void addForwardingIntentFilter(IntentFilter filter, boolean removable, int userIdOrig, - int userIdDest) { + public void addCrossProfileIntentFilter(IntentFilter filter, boolean removable, + int sourceUserId, int targetUserId) { throw new UnsupportedOperationException(); } @@ -716,7 +716,24 @@ public class MockPackageManager extends PackageManager { * @hide */ @Override - public void clearForwardingIntentFilters(int userIdOrig) { + public void addForwardingIntentFilter(IntentFilter filter, boolean removable, int sourceUserId, + int targetUserId) { + throw new UnsupportedOperationException(); + } + + /** + * @hide + */ + @Override + public void clearCrossProfileIntentFilters(int sourceUserId) { + throw new UnsupportedOperationException(); + } + + /** + * @hide + */ + @Override + public void clearForwardingIntentFilters(int sourceUserId) { throw new UnsupportedOperationException(); } |