Merge "Implementation of premium sms metrics."

This commit is contained in:
Aishwarya Mallampati
2022-09-27 20:59:58 +00:00
committed by Android (Google) Code Review

View File

@@ -189,6 +189,13 @@ public class ConfigUpdateInstallReceiver extends BroadcastReceiver {
if (!parent.exists()) {
throw new IOException("Failed to create directory " + parent.getCanonicalPath());
}
// Give executable permissions to parent folders.
while (!(parent.equals(updateDir))) {
parent.setExecutable(true, false);
parent = parent.getParentFile();
}
// create the temporary file
tmp = File.createTempFile("journal", "", dir);
// mark tmp -rw-r--r--