Due to the step to query the users, dumpsys was crashing when run as non-root. Clearing the calling identity after checking perms fixes this. Bug: 6311443 Change-Id: I0b0bca5c7305cea19adc772b3bfec34c16bb24c4
Due to the step to query the users, dumpsys was crashing when run as non-root. Clearing the calling identity after checking perms fixes this. Bug: 6311443 Change-Id: I0b0bca5c7305cea19adc772b3bfec34c16bb24c4