我有下一个方法:
protected synchronized void buildGoogleApiClient() {
mGoogleApiClient = new GoogleApiClient.Builder(context)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.addApi(LocationServices.API).build();
}
该方法应该在isolatedProcess="true"的服务中运行,问题是上下文对象在隔离进程中变为null,如何处理?