commit | c4291b920f86660d8878839184116170c18c72f4 | [log] [tgz] |
---|---|---|
author | Cassie Wang <cassiewang@google.com> | Mon Feb 01 16:39:37 2021 -0800 |
committer | Cassie Wang <cassiewang@google.com> | Fri Feb 05 01:18:56 2021 -0800 |
tree | dc97aba0119b1a676fabf5e2d8aafc0ea4555491 | |
parent | 310f0ff426d4bd59071bf35f7d950ecc2b8ecf85 [diff] |
Require unlocked user for AppSearchImpl. Enforce that we'll only create an AppSearchImpl/IcingSearchEngine instance for unlocked users. If we see an unknown user id, throw a SecurityException. This is so that we don't accidentally write data to a non-credential-encrypted storage. Bug: 179406838 Test: atest FrameworksServicesTests Change-Id: If5d1bf35a3f9fa514a42a1d152ac8d88f963ca1f