Commit 9d693cc8 authored by luca020400's avatar luca020400

Jelly: Remove unneeded getApplicationContext call

Change-Id: I7cf4247c6c1a2930237302d06bb23e9d26ad9535
parent d6b3b842
......@@ -202,8 +202,7 @@ public class MainActivity extends WebViewExtActivity implements View.OnTouchList
applyThemeColor(mThemeColor);
try {
File httpCacheDir =
new File(getApplicationContext().getCacheDir(), "suggestion_responses");
File httpCacheDir = new File(getCacheDir(), "suggestion_responses");
long httpCacheSize = 1024 * 1024; // 1 MiB
HttpResponseCache.install(httpCacheDir, httpCacheSize);
} catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment