uninstall
Removes the scanner overlay from activity and cancels the internal coroutine scope.
This is called automatically when the activity is destroyed. Explicit calls stop the scanner while the activity remains alive and suppress reinstallation until its next resume.
Must be called on the main thread.
This remains safe and idempotent after toggleScanner disables the scanner.
Parameters
activity
Activity whose scanner overlay should be removed.