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

Commit 716d1bcd authored by Steve Fung's avatar Steve Fung Committed by Android Git Automerger
Browse files

am 8965f5f1: am 8e7209d4: Merge "crash_reporter: determine official image using ro.secure"

* commit '8965f5f1':
  crash_reporter: determine official image using ro.secure
parents 29a09f50 8965f5f1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -128,7 +128,11 @@ crash_done() {

is_official_image() {
  [ ${FORCE_OFFICIAL} -ne 0 ] && return 0
  getprop ro.product.description | grep -q Official
  if [ "$(getprop ro.secure)" = "1" ]; then
    return 0
  else
    return 1
  fi
}

# Returns 0 if the a crash test is currently running.  NOTE: Mirrors