diff options
author | Scott Main <smain@google.com> | 2013-11-12 09:23:13 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2013-11-12 09:23:13 -0800 |
commit | 44895333dad66be0ab5350b039d828f3da2a1b73 (patch) | |
tree | d37f5d56a2264f327b2e878efe535faa1cdc7d5e /core/java/android/provider | |
parent | 4c6b1afb5b1c750b762ec446604834676f1e306b (diff) | |
download | frameworks_base-44895333dad66be0ab5350b039d828f3da2a1b73.zip frameworks_base-44895333dad66be0ab5350b039d828f3da2a1b73.tar.gz frameworks_base-44895333dad66be0ab5350b039d828f3da2a1b73.tar.bz2 |
clarify that ANDROID_ID is unique for each user in multi-user environment.
bug: 8073630
Change-Id: Iff18e892a1e0422a85edd83f97ba4285f2171f74
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/Settings.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 7f24539..04f3f0a 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -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"; |