mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Clear the bitmap cache since it can get pretty large
This commit is contained in:
parent
094d642739
commit
194037ff41
@ -90,6 +90,7 @@ public class NetworkAssetLoader implements CachedAppAssetLoader.NetworkLoader {
|
||||
Ion.getDefault(context).getHttpClient().getSSLSocketMiddleware().setTrustManagers(trustAllCerts);
|
||||
Ion.getDefault(context).getHttpClient().getSSLSocketMiddleware().setSSLContext(sslContext);
|
||||
Ion.getDefault(context).getHttpClient().getSSLSocketMiddleware().setHostnameVerifier(hv);
|
||||
Ion.getDefault(context).getBitmapCache().clear();
|
||||
|
||||
Bitmap bmp = Ion.with(context)
|
||||
.load("https://" + getCurrentAddress(tuple.computer).getHostAddress() + ":47984/appasset?uniqueid=" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user