Modify ImsVideoCallProvider to include calling UID for permission check.
authorTyler Gunn <tgunn@google.com>
Wed, 30 Nov 2016 23:16:52 +0000 (15:16 -0800)
committerTyler Gunn <tgunn@google.com>
Wed, 30 Nov 2016 23:16:52 +0000 (15:16 -0800)
commit0c76f5a4157c821a64b39ce4803a154b089ab629
tree78523dcf18843b66a4bd9bc06503b32e3f65b663
parentec93f54091095f3463f7136a29aede8050133540
Modify ImsVideoCallProvider to include calling UID for permission check.

Modify the ImsVideoCallProvider, which the vendor IMS stack implements to
include the UID of telephony.  The vendor IMS stack will use this when
opening the camera for the purpose of camera permission verification by
the camera service.

Test: Unit, manual.
Bug: 32747443
Change-Id: I0884cc08ea4afa23c08e3fe1e2873b3f5aac2b40
src/java/com/android/ims/internal/ImsVideoCallProvider.java
src/java/com/android/ims/internal/ImsVideoCallProviderWrapper.java