Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Aug 4, 2023
1 parent 1815f13 commit 5c58d39
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions zip-content/inc/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,7 @@ initialize()
readonly BUILD_MANUFACTURER
export BUILD_MANUFACTURER

if BUILD_DEVICE="$(sys_getprop 'ro.product.device')" && is_valid_prop "${BUILD_DEVICE?}"; then
:
else
BUILD_DEVICE="$(sys_getprop 'ro.build.product')"
fi
BUILD_DEVICE="$(sys_getprop 'ro.product.device')" || BUILD_DEVICE="$(sys_getprop 'ro.build.product')"
readonly BUILD_DEVICE
export BUILD_DEVICE

Expand Down

0 comments on commit 5c58d39

Please sign in to comment.