0

ACTION_PRE_BOOT_COMPLETED is published after every system update and this information is available in /data/system/called_pre_boots.dat. However, in Nougat this file is removed.

Question: Is this file moved to some other place? or renamed?

Why we need this: We are executing our code after every system update and relying upon PRE_BOOT_COMPLETE broadcast which happens only after system update. In order to test this code, we delete 'called_pre_boots.dat' file and simulate system update which in turn publish PRE_BOOT_COMPLETE broadcast. After Nougat release, we are unable to test our code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.