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

Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
...@@ -128,7 +128,11 @@ crash_done() { ...@@ -128,7 +128,11 @@ crash_done() {
is_official_image() { is_official_image() {
[ ${FORCE_OFFICIAL} -ne 0 ] && return 0 [ ${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 # Returns 0 if the a crash test is currently running. NOTE: Mirrors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment