summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2021-12-10 11:37:32 +0100
committer Galia Peycheva <galinap@google.com> 2021-12-10 11:56:15 +0100
commit34320067d5e0f35fa3bfa7cead7fb0ece52f7955 (patch)
tree0ea717af2298fd118e99bf85c565881ffe8e51ac /api/api.go
parent0f8f6a0d8914a90074eb35633c082a0e57e064fc (diff)
Fix NullPointerException in DreamManagerService
mCurrentDreamName has one access from an unlocked context, which causes a race condition between the dream being stopped and started. This causes a NullPointerExcpetion. This CL fixes this by moving the mCurrentDreamName read operation back into a locked block. Bug: 209911670 Test: m Change-Id: Icb8e904f067199fbfa62ff90aecd57bf38015546
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions