diff options
author | Alexander Dorokhine <adorokhine@google.com> | 2021-07-02 14:50:05 -0700 |
---|---|---|
committer | Alexander Dorokhine <adorokhine@google.com> | 2021-07-02 14:50:05 -0700 |
commit | e55cf2579c833f3be74775226dfb2f9337441cbf (patch) | |
tree | 02f545541a3638f18a1337fd52976748e110d017 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ffc60f6f5396394fd79fed8a98a4341c9b961481 (diff) |
Cache nextPageTokens that a package can use.
A user-package can only manipulate their own nextPageTokens (i.e.
advance or invalidate it) otherwise some other package could affect the
search results of a package. Because we check at the user-package level,
this still allows a package to manipulate nextPageTokens that were
returned for different databases. This isn't recommended, but not a
security risk since it's the package's own data.
Note that manipulating nextPageTokens isn't available through
AppSearch's public API. This would be if someone were circumventing the
normal AppSearchSession.
Bug: 187972715
Test: AppSearchImplTest
Change-Id: I67a22f3ae171ea2886eb89dcf493286a8421408d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions