Documentation
¶
Overview ¶
Query update engine for OTA update status.
Uses SystemUpdateManager to retrieve pending update information and RecoverySystem to check recovery state.
Build:
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/ota_status ./examples/ota_status/ adb push build/ota_status /data/local/tmp/ && adb shell /data/local/tmp/ota_status
Click to show internal directories.
Click to hide internal directories.