diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-08-08 10:22:48 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-08 10:22:49 -0700 |
commit | 537915828b45693e846a126292e026c5b4f05152 (patch) | |
tree | 6c47dca99eda5792f1fc006e0f20088ad4048db1 /test-runner | |
parent | ec0feefd4422db1151aee722732d8c9528f6dfa8 (diff) | |
parent | 7d19e0242faac8017033dabb872cdf1542fa184c (diff) | |
download | frameworks_base-537915828b45693e846a126292e026c5b4f05152.zip frameworks_base-537915828b45693e846a126292e026c5b4f05152.tar.gz frameworks_base-537915828b45693e846a126292e026c5b4f05152.tar.bz2 |
Merge "More mult-user API work." into jb-mr1-dev
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockContext.java | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java index 92c6676..9acffa3 100644 --- a/test-runner/src/android/test/mock/MockContext.java +++ b/test-runner/src/android/test/mock/MockContext.java @@ -285,11 +285,6 @@ public class MockContext extends Context { } @Override - public void sendBroadcastToUser(Intent intent, int userId) { - throw new UnsupportedOperationException(); - } - - @Override public void sendBroadcast(Intent intent, String receiverPermission) { throw new UnsupportedOperationException(); } @@ -308,6 +303,18 @@ public class MockContext extends Context { } @Override + public void sendBroadcastToUser(Intent intent, int userId) { + throw new UnsupportedOperationException(); + } + + @Override + public void sendOrderedBroadcastToUser(Intent intent, int userId, + BroadcastReceiver resultReceiver, Handler scheduler, + int initialCode, String initialData, Bundle initialExtras) { + throw new UnsupportedOperationException(); + } + + @Override public void sendStickyBroadcast(Intent intent) { throw new UnsupportedOperationException(); } |