Skip to content
Commit c4291b92 authored by Cassie Wang's avatar Cassie Wang
Browse files

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
parent 310f0ff4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment