OSDN Git Service

Fix a security exception when checking cross-profile caller-id cap.
authorAmith Yamasani <yamasani@google.com>
Tue, 22 Jul 2014 00:04:44 +0000 (17:04 -0700)
committerAmith Yamasani <yamasani@google.com>
Tue, 22 Jul 2014 00:04:44 +0000 (17:04 -0700)
commiteee5094f96c630661ca563d70de244ccbbd53579
treefb9a739a7fc28a76bd1a96a6ec2f1bc5e56bc998
parente5bcff624fb58b6f95be8ddff7f5b6b3bf5d19c7
Fix a security exception when checking cross-profile caller-id cap.

No need to enforce that the caller is in the system process.
We're only checking if the device policy is allowing access.

Bug: 16301261
Change-Id: I87a7c808d116c86aa68cebb36631c46d0a54be96
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java