The way Google said how multi user will work is that: “Each user on a device has his or her own set of accounts, apps, system settings, files, and any other user-associated data.”
I think/believe that this is done by using different UIDs.
If that is true, for apps that means it has to kill the existing app first and run it as a different UID. This means that classes will be reloaded and static variables will be created again for the new user.
And above is true, then static variables should be gone.
Can someone confirm that?
staticvariables are associated with classloader+class where they are defined. So, pretty sure that they will be gone (or) not accessible for second user login.I am not sure about UIDs (or) what approach is used to identify unique user.