DescriptionTelemetry: fix permission check when setting Android command line.
This is to fix a bug introduced by r221426 on the WebView telemetry bot.
The issue was related to the fact that ls -l can return no output if the
target folder exists but is empty.
This change makes the IsProtectedFile logic inside _SetCommandLineFile
more reliable, introducing the IsFileWritableOnDevice method in adb
commands.
BUG=284468
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222349
Patch Set 1 #
Total comments: 3
Patch Set 2 : False -> True when checking / #
Total comments: 1
Patch Set 3 : Remove wrapper method from adb_commands #
Messages
Total messages: 12 (0 generated)
|