Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send data after ACTION_SHUTDOWN is received

Tags:

android

I know that the apps receive a ACTION_SHUTDOWN broadcast event when the device is shutting down. When an application receives the shutdown, is there still an opportunity to send data packets out, or does android block such attempts(or does the platform tear down the network stack before it can go out).

like image 233
Tushar Gupta Avatar asked Jun 02 '26 18:06

Tushar Gupta


1 Answers

It turns out that you can still send out some data packets after receiving the ACTION_SHUTDOWN event before the phone dies completely.

like image 75
Tushar Gupta Avatar answered Jun 04 '26 07:06

Tushar Gupta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!