OSDN Git Service

Fix the vts error
authorSundong Ahn <sundongahn@google.com>
Tue, 7 May 2019 13:06:48 +0000 (22:06 +0900)
committerSundong Ahn <sundongahn@google.com>
Wed, 8 May 2019 01:21:44 +0000 (10:21 +0900)
commit28403928b3f63c1d33f9556071f5db1449c5237c
tree50aadf93ee13d52f10bbf9756ca6ca2fe29ec6dc
parent24e9f93b71018f1c939822c82e9d662d5d882bb1
Fix the vts error

On some devices, default-permissions.xml file is on the product
partition. Modify the test case so that VTS passes even if
default-permissions.xml doesn't exist.
According to the parser code, the xml file can exist in an odm
partition. So add the odm partition to the location.

Bug: 132048214
Test: m -j vts
Test: vts-tradefed run vts -m VtsValidateDefaultPermissions
Change-Id: Ia518a51129b8acb2de68ee2cd537b57ef6378b32
services/core/xsd/vts/Android.bp
services/core/xsd/vts/ValidateDefaultPermissions.cpp