FarFarAwayUser
FarFarAwayUser

Reputation: 133

boot_complete delay or location

I would like to know if there is a way to delay the boot_complete broadcast without harming the boot stages? i.e. where in the AOSP code can I find the part where the intent is being broadcasted so I could run another code prior to sending it?

Another option is the code location where the bootanimation is being stoped...

Can anyone help?

Thanx!

Upvotes: 0

Views: 1002

Answers (1)

Veaceslav Gaidarji
Veaceslav Gaidarji

Reputation: 4311

Look into SystemServer.java. When boot is completed, Zygote forks system server process, where all pre-boot initialization is made, and java services started. You can create your service and start it here.

Edit: bootanimation is started also as a service from init.rc file, line 422.

Upvotes: 1

Related Questions