Work on issue #3101415: Crespo apps seem to have their UID changed over time.
fsync! Change-Id: Ie6c5397202579935ac69bf61d3e7b3081ecf269c
This commit is contained in:
@@ -94,6 +94,7 @@ public class SystemKeyStore {
|
||||
FileOutputStream fos = new FileOutputStream(keyFile);
|
||||
fos.write(retKey);
|
||||
fos.flush();
|
||||
FileUtils.sync(fos);
|
||||
fos.close();
|
||||
FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR),
|
||||
-1, -1);
|
||||
|
||||
Reference in New Issue
Block a user