Allow nested calls to callWithShellPermissionIdentity.

This is quite confusing that permissions are not merged when calling
callWithShellPermissionIdentity in a nested block.

Bug: 221401739
Test: atest CtsSafetyCenterTestCases
Change-Id: I8bb577e024ce49098fa3bc418ab52cb28037676f
7 files changed