commit | 1b5f99d14234bd92ce3a40d1e267f8b8a1bbe3dd | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Jan 27 15:34:04 2020 -0800 |
committer | Hall Liu <hallliu@google.com> | Fri Feb 12 01:03:35 2021 +0000 |
tree | 62d1909de77ea6e079a7b69fc0fde1462c798e90 | |
parent | 2f6ca6cd85b537c8c25b2841dd5ee1ab85ecd09a [diff] |
Enforce strict grammar when querying the call log Disallow subqueries and suspicious tokens when querying from the call log database. Also add a column to the projection so that the token detector doesn't throw a false positive. Bug: 143230980 Test: atest android.provider.cts.contacts.CallLogProviderTest Change-Id: I54d2d399f449ea47aa8fb4197c718f9038da25bf (cherry picked from commit 1e54cb39bb76f5cc12526abca99b1af017d7d3d2) Merged-In: I54d2d399f449ea47aa8fb4197c718f9038da25bf