commit | d0eee747f6389a5800b485f36b265b3f5521852f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Aug 05 16:53:08 2014 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Aug 05 16:53:25 2014 -0700 |
tree | 198a037da809627e179c4ed6c66fe201e56a03f0 | |
parent | 3679d5f49a1e3caf69fffd1afa2d6139a0bfbb17 [diff] |
Escape single quotes in arguments. Verified that these use-cases continue working: $ adb shell arg a a 'b b' $ adb shell arg a a "b b" |arg|a|a|b b| $ adb shell arg "a a 'b b'" |arg|a a 'b b'| $ adb shell arg 'a a "b b"' |arg|a a "b b"| $ adb shell arg a\"b\'c |arg|a"b'c| $ adb shell "arg a && arg b" |arg|a| |arg|b| $ adb shell "arg 'a' \"b\" c" |arg|a|b|c| Bug: 16139781 Change-Id: I3b010b6cdf57281695c11fda318c9bea0a7221cc