crash_reporter: Use ro.debuggable for determining developer mode
Bug: 24408721
Change-Id: I01215e3794eb787c37cee0c138395f49d2f1d6f8
diff --git a/crash_reporter/crash_sender b/crash_reporter/crash_sender
index 29a1229..2c0c21b 100755
--- a/crash_reporter/crash_sender
+++ b/crash_reporter/crash_sender
@@ -165,7 +165,7 @@
# If we're testing crash reporter itself, we don't want to special-case
# for developer mode.
is_crash_test_in_progress && return 1
- if [ "$(getprop ro.build.type)" = "eng" ]; then
+ if [ "$(getprop ro.debuggable)" = "1" ]; then
return 0
else
return 1