Merge "crash_reporter: Use ro.debuggable for determining developer mode"

This commit is contained in:
Steve Fung 2015-09-29 17:17:53 +00:00 committed by Gerrit Code Review
commit 7f16425d43
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ is_developer_mode() {
# 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