Merge "Use bindServiceAsUser() to follow API change."

This commit is contained in:
Amith Yamasani
2013-01-16 23:28:05 +00:00
committed by Android (Google) Code Review

View File

@@ -338,8 +338,8 @@ public class StorageMeasurement {
sendMessage(obtainMessage(MSG_CONNECTED, mDefaultContainer)); sendMessage(obtainMessage(MSG_CONNECTED, mDefaultContainer));
} else { } else {
Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT); Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);
context.bindService(service, mDefContainerConn, Context.BIND_AUTO_CREATE, context.bindServiceAsUser(service, mDefContainerConn, Context.BIND_AUTO_CREATE,
UserHandle.USER_OWNER); UserHandle.OWNER);
} }
} }
break; break;