Android - Application's UID persistent storage
Each package is given a unique user id during its installation and this remains the same as long as it stays installed in the device. The UID is generated by com.android.server.pm.Settings::newUserIdLPw(...) and is eventually saved in /data/system/packages.xml for persistent storage.
Comments