diff --git a/envsetup.sh b/envsetup.sh index deb6e92b9..b1aab34f7 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1029,7 +1029,7 @@ function coredump_enable() return; fi; echo "Setting core limit for $PID to infinite..."; - adb shell prlimit $PID 4 -1 -1 + adb shell /system/bin/ulimit -p $PID -c unlimited } # core - send SIGV and pull the core for process