From f9919c7d5292fcd3f23d1c17600c0aee733aefef Mon Sep 17 00:00:00 2001 From: Victor Hsieh Date: Fri, 16 Nov 2018 15:12:03 -0800 Subject: manifest_fixer: make --prefer-integrity an enabler The last change should have changed this from taking a boolean to a simple switch. Test: build a package with LOCAL_PREFER_INTEGRITY=true Bug: 112037137 Change-Id: I5ce3b1455404b5c8e781496d26c0431db52a170f --- scripts/manifest_fixer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/manifest_fixer.py b/scripts/manifest_fixer.py index 07925df6..64f49cb2 100755 --- a/scripts/manifest_fixer.py +++ b/scripts/manifest_fixer.py @@ -61,7 +61,7 @@ def parse_args(): help='specify additional tag to add. android:requred is set to false') parser.add_argument('--uses-non-sdk-api', dest='uses_non_sdk_api', action='store_true', help='manifest is for a package built against the platform') - parser.add_argument('--prefer-integrity', type=bool, dest='prefer_integrity', + parser.add_argument('--prefer-integrity', dest='prefer_integrity', action='store_true', help=('specify if the app prefers strict integrity. Should not be conflict if ' + 'already declared in the manifest.')) parser.add_argument('input', help='input AndroidManifest.xml file') -- cgit v1.2.3