posted 3 years ago
No. An Android app can have its code accessed from multiple independent sources simultaneously - via user actions in the event thread, from the app's own background tasks, the app's widgets, and intents triggered by other apps, Android itself, or external sources like GCM. Those could work with the same data structures (or files, or providers, or preferences, etc.), so that should be taken into account.