diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-05-05 17:57:34 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2016-05-05 18:00:29 -0700 |
commit | 35c5005e78a70610713bb16e024a0039f0c614c9 (patch) | |
tree | d2861e58658ddfe7fd80db1d9faf4132534228da /telecomm/java/android/telecom/InCallAdapter.java | |
parent | 91c526fcb899777108697f8f9448bcc8f23088a9 (diff) | |
download | frameworks_base-35c5005e78a70610713bb16e024a0039f0c614c9.zip frameworks_base-35c5005e78a70610713bb16e024a0039f0c614c9.tar.gz frameworks_base-35c5005e78a70610713bb16e024a0039f0c614c9.tar.bz2 |
fw: Provide system context to EnableAccessibilityController.
Every invocation audit wrapped by AppsOps will validate that the
original context's uid matches what is being audited. Since we
create a themed context from system ui, every attempt at flipping
secure settings while in the GlobalActions scope would lead to
SecurityExceptions.
Mitigate by passing original context as well as the themed context
and constructing the EnableAccessibilityController with the system
context.
Change-Id: I61d8c99c9da6c7387544c77250907ff4a2ae38d8
TICKET: FEIJ-316
Diffstat (limited to 'telecomm/java/android/telecom/InCallAdapter.java')
0 files changed, 0 insertions, 0 deletions