Parsing logic for additional elements to support purpose declaration app
compatibility. Updating PermissionInfo with a map where the keys contain the valid purposes and the value is the metadata associated with the purpose itself. Also updated PermissionInfo with the requirePurposeTargetSdkVersion attribute. Bug: 422817717 Test: atest PermissionInfoTest ParsedPermissionTest ParsedValidPurposeTest PackageStateTest Flag: android.permission.flags.purpose_declaration_enabled Change-Id: Ica86cc49d8455da7704ebfb02fa9464a653c4162
Loading
Please register or sign in to comment