【数数】修改判断获取设备id的方法
parent
606b98aadd
commit
09fcfff167
|
@ -71,7 +71,7 @@ end
|
||||||
-- 获取设备Id
|
-- 获取设备Id
|
||||||
function this.GetDeviceId()
|
function this.GetDeviceId()
|
||||||
if AppConst.isSDK then
|
if AppConst.isSDK then
|
||||||
if App.TAMgr.GetDeviceID then
|
if AndroidDeviceInfo.Instance:GetVersionCode() > 24 then
|
||||||
return App.TAMgr:GetDeviceId()
|
return App.TAMgr:GetDeviceId()
|
||||||
end
|
end
|
||||||
return AndroidDeviceInfo.Instance:GetDeviceID()
|
return AndroidDeviceInfo.Instance:GetDeviceID()
|
||||||
|
|
Loading…
Reference in New Issue