OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b24405
)
releasetools: don't attempt to read fingerprint on unified devices
author
Dan Pasanen
<dan.pasanen@gmail.com>
Thu, 15 Oct 2015 14:10:50 +0000
(09:10 -0500)
committer
Steve Kondik
<steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000
(21:47 -0700)
* You wont find this in the build.prop on these devices and this is
how we handled them in previous versions
Change-Id: I56332c87916da1a1206980df0e7a6ca8a55f0e8e
tools/releasetools/ota_from_target_files.py
patch
|
blob
|
history
diff --git
a/tools/releasetools/ota_from_target_files.py
b/tools/releasetools/ota_from_target_files.py
index
d1bd71e
..
008f687
100755
(executable)
--- a/
tools/releasetools/ota_from_target_files.py
+++ b/
tools/releasetools/ota_from_target_files.py
@@
-492,6
+492,8
@@
def GetOemProperty(name, oem_props, oem_dict, info_dict):
def CalculateFingerprint(oem_props, oem_dict, info_dict):
+ if OPTIONS.override_prop:
+ return GetBuildProp("ro.build.date.utc", info_dict)
if oem_props is None:
return GetBuildProp("ro.build.fingerprint", info_dict)
return "%s/%s/%s:%s" % (