| Index: base/ios/device_util.mm
|
| diff --git a/base/ios/device_util.mm b/base/ios/device_util.mm
|
| index c345e5e316da91bee4a101ed8788298a1927ed01..ff7be36875cb342a162b97675cb4102d51f77e99 100644
|
| --- a/base/ios/device_util.mm
|
| +++ b/base/ios/device_util.mm
|
| @@ -44,13 +44,9 @@ NSString* GenerateClientId() {
|
| // http://openradar.appspot.com/12377282. If this is the case, revert to
|
| // generating a new one.
|
| if (!client_id || [client_id isEqualToString:kZeroUUID]) {
|
| - if (base::ios::IsRunningOnIOS6OrLater()) {
|
| - client_id = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
|
| - if ([client_id isEqualToString:kZeroUUID])
|
| - client_id = base::SysUTF8ToNSString(ios::device_util::GetRandomId());
|
| - } else {
|
| + client_id = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
|
| + if ([client_id isEqualToString:kZeroUUID])
|
| client_id = base::SysUTF8ToNSString(ios::device_util::GetRandomId());
|
| - }
|
| }
|
| return client_id;
|
| }
|
|
|