Move app installation logic to onSuccess method in worker under a NonCancellable context and convert the receiver class to be a generic status handler for anything except success which should be handled in PackageManagerReceiver. Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>