Skip to content

Commit

Permalink
Add other custom ROMs now using PIHooks
Browse files Browse the repository at this point in the history
  • Loading branch information
osm0sis authored Jan 6, 2025
1 parent abe69d2 commit a4c8aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/common_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ for APP in $(grep -v '^#' $LIST); do
fi
done

# Work around AOSPA PropImitationHooks conflict when their persist props don't exist
if [ -n "$(resetprop ro.aospa.version)" ]; then
# Work around custom ROM PropImitationHooks conflict when their persist props don't exist
if [ -n "$(resetprop ro.aospa.version)" -o -n "$(resetprop net.pixelos.version)" -o -n "$(resetprop ro.afterlife.version)" ]; then
for PROP in persist.sys.pihooks.first_api_level persist.sys.pihooks.security_patch; do
resetprop | grep -q "\[$PROP\]" || resetprop -n -p "$PROP" ""
done
Expand Down

0 comments on commit a4c8aab

Please sign in to comment.