OSDN Git Service

Added a "lite" flag on ContentCaptureOptions.
authorFelipe Leme <felipeal@google.com>
Thu, 21 Mar 2019 01:25:28 +0000 (18:25 -0700)
committerFelipe Leme <felipeal@google.com>
Thu, 21 Mar 2019 17:13:49 +0000 (10:13 -0700)
commit5001b3bb44aacae7cbf9867b4a5f163996ef9cd3
tree5ba2551610a4f067b0b7e2840c818574670b49b5
parentf8b877846821053e9da65e5fe7dc56c47fbec452
Added a "lite" flag on ContentCaptureOptions.

It will be used to let activities from the ContentCapture service package to use
the ContentCaptureManager APIs (such as isContentCaptureFeatureEnabled()), without
triggering content capture per se.

Bug: 122958583
Test: manual verification
Test: atest CtsContentCaptureServiceTestCases # sanity check

Change-Id: I0305fa9f3adb68e6faff80afcb965ae4643f2992
api/test-current.txt
core/java/android/content/ContentCaptureOptions.java
core/java/android/view/contentcapture/ContentCaptureManager.java
services/contentcapture/java/com/android/server/contentcapture/ContentCapturePerUserService.java