location_idstring · requiredStorage location ID from `android_list_storage_locations`
Performs literal string replacement in a text file. Uses advisory file locking when supported by the storage provider.
location_idstring · requiredStorage location ID from `android_list_storage_locations`
pathstring · requiredRelative path to the file within the storage location
old_stringstring · requiredThe literal string to search for
new_stringstring · requiredThe replacement string
replace_allboolean · default falseIf `true`, replaces all occurrences; if `false`, replaces only the first