make ResearchLogger log write only
Bug: 6188932 Change-Id: I8a8f944b1d4ee858d5ecaad0d3adc6dc7af54f68
This commit is contained in:
parent
fc50a41078
commit
2d9483ff16
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
|
||||
close();
|
||||
mFile = new File(directory, filename);
|
||||
mFile.setReadable(false, false);
|
||||
boolean append = true;
|
||||
if (mFile.exists() && mFile.lastModified() + LOGFILE_PURGE_INTERVAL <
|
||||
System.currentTimeMillis()) {
|
||||
|
|
Loading…
Reference in a new issue