• Christopher Ferris's avatar
    Fix how the script gets data from apks. · d50f287b
    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.
    
    Bug: 29050779
    
    (cherry picked from commit abe22f46)
    
    Change-Id: I4e33704c5b26cd238ff7e316bca9de729480c59c
    d50f287b
stack_core.py 18.8 KB