summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2013-01-16 12:30:11 -0800
committerAmith Yamasani <yamasani@google.com>2013-01-16 12:30:11 -0800
commit27b89e6658a0d233a53f5d7ca20dc57fec82d955 (patch)
tree3bc24a15905546e7ea38fb37994d67414349b3db /test-runner
parent57b59e025bc10056daf42cd741b626843ff344f5 (diff)
downloadframeworks_base-27b89e6658a0d233a53f5d7ca20dc57fec82d955.zip
frameworks_base-27b89e6658a0d233a53f5d7ca20dc57fec82d955.tar.gz
frameworks_base-27b89e6658a0d233a53f5d7ca20dc57fec82d955.tar.bz2
Rename bindService to bindServiceAsUser to follow convention.
This is for the multi-user version of bindService, not the original. Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockContext.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java
index 1f815e7..3097811 100644
--- a/test-runner/src/android/test/mock/MockContext.java
+++ b/test-runner/src/android/test/mock/MockContext.java
@@ -411,7 +411,8 @@ public class MockContext extends Context {
/** @hide */
@Override
- public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) {
+ public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags,
+ UserHandle user) {
throw new UnsupportedOperationException();
}