Changed CommandReceiverActivity to use the proper DPM.

On phones, the test runs on user 0, which is the Device Owner, but on
headless system user mode it runs in a different user.

Most DPM operations must be set on device owner user, but a few -
like adding user restrictions - must be set in the current user.

Test: m -j CtsVerifier && adb install $ANDROID_TARGET_OUT_TESTCASES/CtsVerifier/arm64/CtsVerifier.apk && adb shell am start com.android.cts.verifier/.managedprovisioning.DeviceOwnerPositiveTestActivity
Bug: 185506500

Change-Id: I42480d0b1b926e6a5e1dfff3021dec76544c13ae
4 files changed