Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When multiple users on android, is the ANDROID_ID unique for each user?

Tags:

android

http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID

This link says that : 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.

http://developer.android.com/about/versions/android-4.2.html#MultipleUsers While this link says: Beware that if your app requests one of the hardware device identifiers (such as the WiFi MAC address, the SERIAL number, or the ANDROID_ID number), they will provide the same value for each user because these identifiers are tied to the hardware and not the user.

Both are from android developer and have got me confused? Is the ANDROID_ID actually unique or not for multiple users on a single device?

like image 637
vivek Avatar asked Jan 02 '14 03:01

vivek


People also ask

Is Secure ANDROID_ID unique?

Secure ANDROID_ID (SSAID) Also, the value would only change if a factory reset is performed by the user. On devices that have multiple users value of this id is unique to each user. So it's only scoped by user and device.

Is Android device ID unique?

The android Device ID is a unique code, string combinations of alphabets and numbers, given to every manufactured android device. This code is used to identify and track each android device present in the world.

How does Android multiple users work?

Android supports multiple users on a single Android device by separating user accounts and application data. For instance, parents may allow their children to use the family tablet, a family can share an automobile, or a critical response team might share a mobile device for on-call duty.

What is multi-user feature?

Multi-user software is computer software that allows access by multiple users of a computer. Time-sharing systems are multi-user systems. Most batch processing systems for mainframe computers may also be considered "multi-user", to avoid leaving the CPU idle while it waits for I/O operations to complete.


1 Answers

There is an issue opened here.

It appears to be an error in the doc, so ANDROID_ID should be different for multiple users on a single device.

Best thing is to test yourself, if you have a 4.2 tablet, but some others have tested it here for example, and it appears to work well.

like image 185
yyouf Avatar answered Nov 09 '22 17:11

yyouf