Documentation
¶
Overview ¶
Classify installed packages as system or user apps.
Uses IPackageManager via the "package" service to get ApplicationInfo for each installed package, then checks the Flags field to distinguish system apps (FLAG_SYSTEM = 0x1) from user-installed apps.
Build:
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/system_app_classifier ./examples/system_app_classifier/ adb push build/system_app_classifier /data/local/tmp/ && adb shell /data/local/tmp/system_app_classifier
Click to show internal directories.
Click to hide internal directories.