summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2019-01-30 16:27:24 -0800
committerFelipe Leme <felipeal@google.com>2019-01-31 19:43:25 +0000
commit609991d7d8df3cbdb97d08da4b2377834d184635 (patch)
tree33d05315762bf5fd60208b240834940dcbefe1d3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2f10a26abac1eefef77d857e2b5cd25c7fbb82ff (diff)
Fixed ContentCaptureManager.isContentCaptureEnabled() when main session is disabled.
Each ContentCaptureManager has a MainContentCaptureSession associated with, and the main session has a mDisabled state that's set to true when it failed to start (for example, because there's no service associated with the user). Both objects used to share a common AtomicBoolean for the disabled state, but a recent refactoring split then in a way that the manager's mDisabled was never updated. Test: atest ChildlessActivityTest#testGetContentCapture_enabledWhenNoService Test: atest CtsContentCaptureServiceTestCases # sanityCheck Bug: 123579223 Bug: 123307965 Bug: 123658889 Change-Id: Ib1f08f23721f208b28d0f339f39b21262b55e30d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions