We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 450b66e commit 2888eabCopy full SHA for 2888eab
1 file changed
src/clusterfuzz/_internal/platforms/android/adb.py
@@ -881,7 +881,14 @@ def write_command_line_file(command_line, app_path):
881
882
883
def write_data_to_file(contents, file_path, should_reboot=True):
884
- """Writes content to file."""
+ """Writes content to file.
885
+
886
+ Args:
887
+ contents: The string content to write.
888
+ file_path: The path to the file on the Android device.
889
+ should_reboot: Whether to reboot the device if a system file is modified.
890
+ Defaults to True.
891
+ """
892
# If this is a file in /system, we need to remount /system as read-write and
893
# after file is written, revert it back to read-only.
894
is_system_file = file_path.startswith('/system')
0 commit comments