#!/system/bin/sh
# CamSwapper HAL Hook - Uninstall script

PROVIDER_BIN="/apex/com.google.pixel.camera.hal/bin/hw/android.hardware.camera.provider@2.7-service-google"

umount "$PROVIDER_BIN" 2>/dev/null
rm -f /data/adb/camera-hook-wrapper.sh
rm -f /data/adb/camera-provider-original
rm -rf /data/local/camera_magic
