Rename bindService to bindServiceAsUser to follow convention.

This is for the multi-user version of bindService, not the original.

Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0
This commit is contained in:
Amith Yamasani
2013-01-16 12:30:11 -08:00
parent 57b59e025b
commit 27b89e6658
18 changed files with 47 additions and 35 deletions

View File

@ -248,7 +248,8 @@ public class TextServicesManagerService extends ITextServicesManager.Stub {
Slog.e(TAG, "--- bind failed: service = " + service + ", conn = " + conn);
return false;
}
return mContext.bindService(service, conn, flags, mSettings.getCurrentUserId());
return mContext.bindServiceAsUser(service, conn, flags,
new UserHandle(mSettings.getCurrentUserId()));
}
private void unbindServiceLocked() {