DO NOT MERGE: Ignore bugreportz output when it's not supported.
On devices running M or below, calling 'bugreportz -v' writes
'/system/bin/sh: bugreportz: not found' in the stdout output, which must
be redirected to stderr so it's not shown in the flat-file bugreport,
above the bugreport header.
BUG: 30451114
Change-Id: I942c92fdf6ae85e0cde7b9f94b9eb0b1fecad77a
(cherry picked from commit 3594184e1bab75324c1638d98f411af9ea6770d5)
(cherry picked from commit 1fc578cede6a3c9ae9a85d8fbcfb44f04cf7b1d5)
2 files changed