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
This commit is contained in:
@@ -61,7 +61,7 @@ def parse_args():
|
||||
help='specify additional <uses-library> 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')
|
||||
|
Reference in New Issue
Block a user