From 27b89e6658a0d233a53f5d7ca20dc57fec82d955 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Wed, 16 Jan 2013 12:30:11 -0800 Subject: Rename bindService to bindServiceAsUser to follow convention. This is for the multi-user version of bindService, not the original. Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0 --- test-runner/src/android/test/mock/MockContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test-runner') 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(); } -- cgit v1.1