diff options
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2013-05-31 13:12:52 +0100 |
---|---|---|
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | 2013-06-05 14:44:52 +0000 |
commit | 653278341d76d0b23a008087ff94250ae0beb54b (patch) | |
tree | 802faaf535e8b34ab3c6dfd95a151f58524604d5 /graphics/java/android/renderscript/RenderScript.java | |
parent | 5b27decb1d59b3d35194f28e49d98485c0e57427 (diff) |
Allow TTS service to identify caller.
Added new field (+setter and getter) to SynthesisRequest with
Uid of a calling process. TTS service will be able to discover
packages names associated with caller using
PackageManager.getPackagesForUid.
This will allow to block buggy or poorly designed programs from
an unintentional DDoS attacks against TTS service.
Bug: 8625440
Change-Id: I5ac0ea191f952495c00301f17efdf28205353ae4
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions