mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 16:37:30 +00:00
Ignore resources.arsc in apkdiff.py
Due to a bug described in: https://issuetracker.google.com/issues/110237303 Ordering of resources can be non-deterministic. A comment on the issue indicates that this may be resolved in Android Gradle Plugin 3.4. We should revisit when we update.
This commit is contained in:
parent
b6dc25a368
commit
3211dd2a8f
@ -4,8 +4,9 @@ import sys
|
|||||||
from zipfile import ZipFile
|
from zipfile import ZipFile
|
||||||
|
|
||||||
class ApkDiff:
|
class ApkDiff:
|
||||||
|
# resources.arsc is ignored due to https://issuetracker.google.com/issues/110237303
|
||||||
IGNORE_FILES = ["META-INF/MANIFEST.MF", "META-INF/SIGNAL_S.RSA", "META-INF/SIGNAL_S.SF"]
|
# May be fixed in Android Gradle Plugin 3.4
|
||||||
|
IGNORE_FILES = ["META-INF/MANIFEST.MF", "META-INF/SIGNAL_S.RSA", "META-INF/SIGNAL_S.SF", "resources.arsc"]
|
||||||
|
|
||||||
def compare(self, sourceApk, destinationApk):
|
def compare(self, sourceApk, destinationApk):
|
||||||
sourceZip = ZipFile(sourceApk, 'r')
|
sourceZip = ZipFile(sourceApk, 'r')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user