mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 22:26:48 +00:00
Android: remove hardcoded chmod
I don't understand why it was necessary. on some devices, the binary is in a different location. if this is still needed for something, we need to search for chmod binary dynamicly
This commit is contained in:
@@ -132,7 +132,6 @@ public class DownloadVoiceData extends Activity {
|
||||
|
||||
if (entry.isDirectory()) {
|
||||
progress.file.mkdirs();
|
||||
FileUtils.chmod(progress.file);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -149,9 +148,6 @@ public class DownloadVoiceData extends Activity {
|
||||
outputStream.close();
|
||||
}
|
||||
zipStream.closeEntry();
|
||||
|
||||
// Make sure the output file is readable.
|
||||
FileUtils.chmod(progress.file);
|
||||
}
|
||||
|
||||
final String version = FileUtils.read(mContext.getResources().openRawResource(R.raw.espeakdata_version));
|
||||
|
||||
Reference in New Issue
Block a user