commit | 3835835ab9768273d0c9fc56bab35932b87c67a0 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Fri Jan 18 15:53:45 2019 -0800 |
committer | Felipe Leme <felipeal@google.com> | Fri Jan 18 15:54:48 2019 -0800 |
tree | d898abe650c8dc54fec80f29a567369791781a7e | |
parent | 793f1a793c2b9cd8f7356b83b8a2e5fd8d444e9b [diff] |
Change how notifyAppearedOrDisappearedForContentCaptureIfNeeded() checks if view is visible. It was calling isVisibleToUser(), which is expensive. Bug: 121039624 Test: atest CtsContentCaptureServiceTestCases Change-Id: If641a01a5a6706743caefaa5fa34114902cd2c49