Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57c7486b authored by Steve Fung's avatar Steve Fung
Browse files

crash_reporter: Use ro.debuggable for determining developer mode

Bug: 24408721
Change-Id: I01215e3794eb787c37cee0c138395f49d2f1d6f8
parent d490db98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,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