[DeviceAwareAppOp] Fix the bug that misuses device Id in proxy and proxied attribution source

There is a bug in AppOpsService#startProxyOperationImpl() and AppOpsService#noteProxyOperationImpl() that it uses virtual device Id from proxy attribution source as the device Id in proxied attribution source. The two device Ids can be different and should be treated differently.

Bug: 337340961
Test: presubmit
Change-Id: Ie996c421fd805dea3b57061677466f33cbe226d8
4 files changed