Apps can go from isolated to non-isolated storage

But not the other way round.

Before we used OP_LEGACY_STORAGE==default as marker that the op has not been
set yet. Hence we ignore this condition when changing to "allow", but not when
changing to "ignore".

Test: atest RestrictedPermissionsTest
Fixes: 131747080
Change-Id: I0cff8b66155cae69b77aed2d8f20fe43c5064a1f
2 files changed