summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-07-29 15:25:45 -0600
committerJeff Sharkey <jsharkey@android.com>2018-08-09 11:50:24 -0600
commita5d0bf17013198afbfe2671967ff905153f66e07 (patch)
tree6feb3e33311e5ecd381061cceab55b3acfb61c14 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdeee39507f594db017f0e1beab5c973d178387a4 (diff)
RedactingCursor that redacts specific columns.
For new storage changes in Q, we need to redact the visibility of the "_data" column on any returned cursors. We could cook this up using SQLiteQueryBuilder projection re-mappings, but that's a pretty involved change due to the number of tables and teasing apart public-vs-hidden API columns. Instead, this RedactingCursor class offers to "redact" requested columns by replacing with specific values, such as "/dev/null". Test: atest frameworks/base/core/tests/coretests/src/android/database/RedactingCursorTest.java Bug: 111960973 Change-Id: Iad36986fc0b7a0cae10ff216755e284320991e18
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions