Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Aug 3, 2023
1 parent e2c8dd3 commit 5951818
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions zip-content/inc/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,10 @@ initialize()
_timeout_check
live_setup_choice

API="$(sys_getprop 'ro.build.version.sdk')" || API=0
readonly API
export API

IS_EMU='false'
case "${BUILD_DEVICE?}" in
'windows_x86_64' | 'emu64x')
Expand Down
2 changes: 0 additions & 2 deletions zip-content/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ INSTALL_PLAYSTORE="$(parse_setting 'INSTALL_PLAYSTORE' "${INSTALL_PLAYSTORE:-}")
INSTALL_ANDROIDAUTO="$(parse_setting 'INSTALL_ANDROIDAUTO' "${INSTALL_ANDROIDAUTO:-}")"

INSTALLATION_SETTINGS_FILE="${MODULE_ID:?}.prop"
API="$(build_getprop 'build\.version\.sdk')"
readonly API

if test "${API:?}" -ge 19; then # KitKat or higher
PRIVAPP_FOLDER='priv-app'
Expand Down

0 comments on commit 5951818

Please sign in to comment.