Hi everyone,
Just to follow up a bit here, the reason we believe this is happening is
because ro.serialno isn't set on these devices. (Note that the ro.*
properties currently aren't required by the CDD/CTS.) Unfortunately, it
seems that we're using ro.serialno as the seed for the PRNG when generating
ANDROID_ID.

See: 
frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java:416

http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java&q=android_id%20ro.serialno&sa=N&cd=1&ct=rc

I've gone ahead and opened up a bug here for tracking purposes:

http://code.google.com/p/android/issues/detail?id=10639

(We suspect that the Droid 2 isn't the only phone affected by this, likely
just the most noticeable instance.)

We have a fix for this checked into our internal Git repo, so once that
change propagates to vendors this shouldn't be an issue on future devices.
For existing devices though, if you absolutely depend on the uniqueness of
ANDROID_ID, you'll unfortunately need to rely on some other identifier
(IMEI, WiFi MAC, etc.).

-- 
Trevor Johns

On Fri, Aug 20, 2010 at 10:46 AM, suzanne.alexandra <
[email protected]> wrote:

> Andrew,
> I don't know that this is reported in any public bug system. I've
> reported it within a Motorola bug system.
>
> - Suzanne
>
>
> On Aug 20, 12:33 am, "Maps.Huge.Info (Maps API Guru)"
> <[email protected]> wrote:
> > > John, have you had any complaints yet about conflicts from duplicate
> > > unique ids?
> >
> > I handled it in code.
> >
> > -John Coryat
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to