Skip to content

Commit

Permalink
ID to BUILD_ID and using AM to force stop
Browse files Browse the repository at this point in the history
  • Loading branch information
0x11DFE committed Mar 4, 2024
1 parent 411db39 commit 40d4853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magisk_module_files/pif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [[ "$PIF_PRODUCT" == *_beta ]] || [ "$ENABLE_PIF_SPOOF" = "true" ]; then
NEW_PIF=$(
cat <<EOF
{
"ID": "$PIF_BUILD_ID",
"BUILD_ID": "$PIF_BUILD_ID",
"PRODUCT": "$PIF_PRODUCT",
"DEVICE": "$PIF_DEVICE",
"MANUFACTURER": "$PIF_MANUFACTURER",
Expand All @@ -53,7 +53,7 @@ EOF

# Kill and clear data from few Google apps
for google_app in $GOOGLE_APPS; do
su -c killall "$google_app"
am force-stop "$google_app"
# su -c pm clear "$google_app" # Before clearing the data we need TODO: Automate sign-out from Device Activity
# ui_print " ? Cleanned $google_app"
done
Expand Down

0 comments on commit 40d4853

Please sign in to comment.