• Christopher Ferris's avatar
    Fix how the script gets data from apks. · abe22f46
    Christopher Ferris authored
    The previous code used unzip to get the offsets of the files in
    the zip file. This was an estimate, and it turns out to be wrong
    in many cases. Replace that with zipinfo -v which gives the exact
    offset of the files in the zip.
    
    Also update the tmp files so that they are in a dictionary of their
    own by apk, instead of embedded in the offset list.
    
    Change-Id: I8f5efd95f2d2e39e20cc0b6b6571b799be21ef32
    abe22f46
stack_core.py 18.8 KB