diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-08-23 17:17:20 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-08-24 16:16:55 +0200 |
| commit | dc468809e214ab7b0d6e0a497b2229867603af70 (patch) | |
| tree | a40b559bddb62570714e24958671f1b5ff9e7a0b /android/lib/theme/src | |
| parent | 7b0c39af408513b95a3235ff896dde1b02e1cb7a (diff) | |
| download | mullvadvpn-dc468809e214ab7b0d6e0a497b2229867603af70.tar.xz mullvadvpn-dc468809e214ab7b0d6e0a497b2229867603af70.zip | |
Return RESTTransport from TransportProvider
Ensures that RESTTransport returns consistent values throughout execution and solves the following issues:
- Dynamic implementation of RESTTransport implemented by TransportProvider may yield different values (i.e RESTTransport.name) when accessed at different times during network operation execution
- Current implementation of RESTTransport on TransportProvider yields "TransportProvider" before the first call to sendRequest() which is not correct behavior becuase we always log the name of transport that's being used before sending request.
- When starting the app with network link conditioner blocking traffic, TransportProvider seems to print "TransportProvider" indefinitely even after the first call to sendRequest().
Diffstat (limited to 'android/lib/theme/src')
0 files changed, 0 insertions, 0 deletions
