OSDN Git Service

Use the basename of file_contexts from the info dict.
authorTao Bao <tbao@google.com>
Fri, 28 Aug 2015 17:52:03 +0000 (10:52 -0700)
committerTao Bao <tbao@google.com>
Fri, 28 Aug 2015 18:17:38 +0000 (11:17 -0700)
commit79735a6a82f7f3d60cd86bf293b8a6b4e1d92768
treebcb43cbfa44687180b4815192a8b8ed43383679f
parent57ff23b0ed02affce494d14d8a0f5e9e4717baf7
Use the basename of file_contexts from the info dict.

Changes in [1] break the backward compatibility of the OTA scripts. Fix
the issue by extracting the file basename from the info dict in
META/misc_info.txt.

[1] commit d3a803e6680e86f7b4960d51ab0b620728b793ca

Bug: 23620049
Change-Id: I40a5625bbe0beb295f34b2328906a4a4283fe59b
tools/releasetools/common.py