Expose isRemovingAdmin in DevicePolicyManager as a TestApi.

Fixes: 219894175

Test: android.devicepolicy.cts.DevicePolicyManagerTest#setAndRemoveDeviceOwnerRepeatedly_doesNotThrowError
Test: android.devicepolicy.cts.DevicePolicyManagerTest#setAndRemoveProfileOwnerRepeatedly_doesNotThrowError
Change-Id: Ifd9fc00878ce8243c0f34eca827b5a857ffc1b2f
2 files changed