summaryrefslogtreecommitdiffstats
path: root/drm/common/DrmInfoRequest.cpp
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2016-06-06 10:09:50 -0700
committerTom Marshall <tdm@cyngn.com>2016-06-07 14:18:01 -0700
commitb3fbce13d6a0c30012e069c4a2131407beb31ab7 (patch)
tree0984607347d3228b710613cbffa72bcfb2121ec5 /drm/common/DrmInfoRequest.cpp
parent9bdc0f69492d90fbceca68d3b40716b4722a3222 (diff)
downloadframeworks_av-b3fbce13d6a0c30012e069c4a2131407beb31ab7.zip
frameworks_av-b3fbce13d6a0c30012e069c4a2131407beb31ab7.tar.gz
frameworks_av-b3fbce13d6a0c30012e069c4a2131407beb31ab7.tar.bz2
MtpServer: Fix concurrent access to mStorages
* getStorage is called both internally with mMutex held and externally without mMutex held. Create getStorageLocked for internal use and make getStorage a wrapper. * hasStorage is only called internally with mMutex held. Make it a private method. Change-Id: I8f73310ad6cca14cd88b8e29f20cc181b3a4fac3
Diffstat (limited to 'drm/common/DrmInfoRequest.cpp')
0 files changed, 0 insertions, 0 deletions