Merge "Enable gxp dumps in bugreport" into udc-dev am: 496b95282b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/22492549 Change-Id: Ia4cfc46b93a1f034ae51f0ee0bf51a8041416a0e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6cd7326953
@ -20,7 +20,8 @@
|
||||
#define maxGxpDebugDumps 3
|
||||
|
||||
int main() {
|
||||
if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", false)) {
|
||||
/* TODO(b/277094681): Set default value to false around device beta milestone. */
|
||||
if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", true)) {
|
||||
std::string outputDir = concatenatePath(BUGREPORT_PACKING_DIR, "gxp_ssrdump");
|
||||
printf("Creating %s", outputDir.c_str());
|
||||
if (mkdir(outputDir.c_str(), 0777) == -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user