clarify that ANDROID_ID is unique for each user in multi-user environment.

bug: 8073630

Change-Id: Iff18e892a1e0422a85edd83f97ba4285f2171f74
This commit is contained in:
Scott Main
2013-11-12 09:23:13 -08:00
parent 4c6b1afb5b
commit 44895333da

View File

@ -3252,9 +3252,14 @@ public final class Settings {
/**
* A 64-bit number (as a hex string) that is randomly
* generated on the device's first boot and should remain
* constant for the lifetime of the device. (The value may
* change if a factory reset is performed on the device.)
* 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.
* <p class="note"><strong>Note:</strong> When a device has <a
* href="{@docRoot}about/versions/android-4.2.html#MultipleUsers">multiple users</a>
* (available on certain devices running Android 4.2 or higher), each user appears as a
* completely separate device, so the {@code ANDROID_ID} value is unique to each
* user.</p>
*/
public static final String ANDROID_ID = "android_id";