OSDN Git Service

Disable existing ContentCapture sessions if service changes their whitelist status.
authorFelipe Leme <felipeal@google.com>
Mon, 6 May 2019 22:57:30 +0000 (15:57 -0700)
committerFelipe Leme <felipeal@google.com>
Mon, 6 May 2019 23:09:05 +0000 (16:09 -0700)
commit0a3bec5860624a1a9e9185a560a96304049ea70e
tree03262c32d1ec6e447f86e7ba58fc5f74b1947209
parent56c006f5a6238bc73731cc8d77009c72e9602c27
Disable existing ContentCapture sessions if service changes their whitelist status.

Test: atest CtsContentCaptureServiceTestCases:CustomViewActivityTest
Test: atest CtsContentCaptureServiceTestCases # sanity check

Fixes: 130802293

Change-Id: Ia94016382192912668c4ac1ce580a0b95c76f35c
services/contentcapture/java/com/android/server/contentcapture/ContentCapturePerUserService.java
services/contentcapture/java/com/android/server/contentcapture/ContentCaptureServerSession.java