I want to find out how Google Maps service is automatically started.
When I dump logcat of main buffer or events buffer, I can only find out which component of Google Maps is started, but no clues about "Who" (package) started it, and "How" (intent)?
Is there any debugging method that can be used to find them out?
I managed to find "How", but still find no clue about "Who".
Run dumpsys activity services
, see the intent
field:
* ServiceRecord{41526f40 u0 com.google.android.apps.maps/com.google.android.location.internal.server.GoogleLocationService}
intent={act=com.google.android.location.internal.GMM_NLP}
packageName=com.google.android.apps.maps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With