After installing test app, we need executed assertHasFullStorageAccess method, if pass, we can update the test apk, and then executed assertHasFullStorageAccess.

Bug:145624064
Fixes: 146153204
run cts -m CtsPermission2TestCases -t android.permission2.cts.RestrictedPermissionsTest#testStorageTargetingSdk28DoesNotLooseAccessWhenOptingIn
run cts -m CtsPermission2TestCases -t android.permission2.cts.RestrictedPermissionsTest#testStorageTargetingSdk29DoesNotLooseAccessViaUpdate
run cts -m CtsPermission2TestCases -t android.permission2.cts.RestrictedPermissionsTest#testStorageTargetingSdk29DoesNotLooseAccessWhenOptingIn
run cts -m CtsPermission2TestCases -t android.permission2.cts.RestrictedPermissionsTest#testStorageTargetingSdk28DoesNotLooseAccessViaUpdate
Change-Id: Ib394245e71e05ae9391fd0403e100118c13ab5eb
1 file changed