[BugFix]: Remove the android property used by GXP debug dump [RESTRICT AUTOMERGE] am: 3f904fffac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs-common/+/23736622 Change-Id: Id6caf5396b4965ddb69458ac23ccc755372701a0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
6d4ce366f3
1 changed files with 10 additions and 10 deletions
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
/* TODO(b/277094681): Set default value to false around device beta milestone. */
|
/* TODO(b/277094681): Set default value to false around device beta milestone. */
|
||||||
if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", true)) {
|
/* TODO(b/288368306): Create an android property for enabling/disabling
|
||||||
|
* bugreport collection for gxp */
|
||||||
std::string outputDir = concatenatePath(BUGREPORT_PACKING_DIR, "gxp_ssrdump");
|
std::string outputDir = concatenatePath(BUGREPORT_PACKING_DIR, "gxp_ssrdump");
|
||||||
printf("Creating %s", outputDir.c_str());
|
printf("Creating %s", outputDir.c_str());
|
||||||
if (mkdir(outputDir.c_str(), 0777) == -1) {
|
if (mkdir(outputDir.c_str(), 0777) == -1) {
|
||||||
|
@ -31,7 +32,6 @@ int main() {
|
||||||
|
|
||||||
dumpLogs("/data/vendor/ssrdump/coredump", outputDir.c_str(), maxGxpDebugDumps, "coredump_gxp_");
|
dumpLogs("/data/vendor/ssrdump/coredump", outputDir.c_str(), maxGxpDebugDumps, "coredump_gxp_");
|
||||||
dumpLogs("/data/vendor/ssrdump", outputDir.c_str(), maxGxpDebugDumps, "crashinfo_gxp_");
|
dumpLogs("/data/vendor/ssrdump", outputDir.c_str(), maxGxpDebugDumps, "crashinfo_gxp_");
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue