Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics not getting logged when BroadcastReceiver wakes app #3

Closed
erick-buku opened this issue May 30, 2022 · 1 comment
Closed

Metrics not getting logged when BroadcastReceiver wakes app #3

erick-buku opened this issue May 30, 2022 · 1 comment
Labels

Comments

@erick-buku
Copy link

I want to measure cold startup time if app is woken from BroadcastReceiver. So steps to reproduce:

  • App is in killed state.
  • Send intent to my broadcast receiver via adb command: adb shell am broadcast bla2...
  • Result is success, the app wakes but the metrics are not getting logged like I launch the app from launcher.

Is this expected behavior or am I missing something?

@anjalsaneen
Copy link
Contributor

Hi @ericksumargo-buku , Sorry for the delay.

This is expected behavior. Metrics are only returned after the first draw. The App will not draw any frames when it wakes up through BroadcastReceiver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants