Android multiple user support
To identify an app as a singleton, Add android:singleUser=”true” to your service or provider in the Android manifest.
The system will instantiate that component in the process running as user 0 only. Any requests to connect to that provider or service from any user will be routed to the process in user 0. If this is the only component in your app, only one instance of your app will run.
Activities in your package will still be launched in a separate process for each user, with the UID being in the UID range for that user (such as 1010034).1