Merge "Use bindServiceAsUser() to follow API change."
This commit is contained in:
committed by
Android (Google) Code Review
commit
486d1ac237
@@ -338,8 +338,8 @@ public class StorageMeasurement {
|
||||
sendMessage(obtainMessage(MSG_CONNECTED, mDefaultContainer));
|
||||
} else {
|
||||
Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);
|
||||
context.bindService(service, mDefContainerConn, Context.BIND_AUTO_CREATE,
|
||||
UserHandle.USER_OWNER);
|
||||
context.bindServiceAsUser(service, mDefContainerConn, Context.BIND_AUTO_CREATE,
|
||||
UserHandle.OWNER);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user