Move the AppRestrictionController dump out of the global AMS lock

Bug: 220930052
Test: dumpsys activity -a
Test: atest CtsContentTestCases
Change-Id: Iceaeb7239889d1a6706f98c54e52f631b231994c
1 file changed