Uh, how much have been flooded. And the question is not worth a damn, just ask a little about how Android works.
About Android ID on Android 8+ Android ID - an entry in the Android settings provider’s database, the storage method is no different from other settings provider’s records, for example, from the entries “debugging by adb is enabled”, “bluetooth is enabled”, “allow installing applications from untrusted sources”, etc., thousands their.
The formal description of this entry in the source code of Android:
A 64-bit number (as a hex string) that is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device. The value may change if a factory reset is performed on the device.
When a device has multiple users (available on certain devices running Android 4.2 or higher), each user appears as a completely separate device, so the ANDROID_ID value is unique to each user.
I don’t think that this requires translation, the text is simple, the Google translator will master it for those who do not speak the language of the technological leader. I will explain only the last paragraph.
Starting with Android 4.2, the system has become multi-user, and Android ID has become a unique identifier for each user in the system. Nevertheless, since each user has their own settings provider database (strictly speaking, only part of this database, but this is not essential), the Android ID can be saved and restored for each user individually (the last operation, as you understand, is simply changing the corresponding record in base).
However, starting with Android 8, Android ID is unique not only for each user, but also for each application. Details are in the blog of Android developers,
https: //android-develo...ce-identifiers-in.htmlTherefore, the concept of Android ID as a unique identifier has lost its meaning. A set of unique identifiers (one for each application) is still stored with the settings provider, however, the global system Android ID is also. Those who are dear to him can be saved / restored (in addition to pleasant memories, there is no other meaning in this operation).
Post has been editedusername11 - 12.08.19, 17:03