mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "make ResearchLogger log write only"
This commit is contained in:
commit
5bf1140207
@ -113,6 +113,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||||||
|
|
||||||
close();
|
close();
|
||||||
mFile = new File(directory, filename);
|
mFile = new File(directory, filename);
|
||||||
|
mFile.setReadable(false, false);
|
||||||
boolean append = true;
|
boolean append = true;
|
||||||
if (mFile.exists() && mFile.lastModified() + LOGFILE_PURGE_INTERVAL <
|
if (mFile.exists() && mFile.lastModified() + LOGFILE_PURGE_INTERVAL <
|
||||||
System.currentTimeMillis()) {
|
System.currentTimeMillis()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user