`getSystemService()` call does not delegate to `Services` inside `FlowContextWrapper`
Zhuinden opened this issue · 1 comments
Zhuinden commented
The FlowContextWrapper
receives the services
that is bound to the key, but getSystemService()
does not try to call getService()
using name
parameter, therefore the services are not exposed through the context.
Services is received but not used: https://github.com/square/flow/blob/master/flow/src/main/java/flow/FlowContextWrapper.java#L32
Zhuinden commented
return wrapper.services.getService(serviceName);
oh it's not exposed through Context, only through Flow.getService(name)
.
How odd.