diff options
author | Tom Marshall <tdm@cyngn.com> | 2016-06-06 10:09:50 -0700 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2016-06-07 14:18:01 -0700 |
commit | b3fbce13d6a0c30012e069c4a2131407beb31ab7 (patch) | |
tree | 0984607347d3228b710613cbffa72bcfb2121ec5 /drm/common/DrmInfoRequest.cpp | |
parent | 9bdc0f69492d90fbceca68d3b40716b4722a3222 (diff) | |
download | frameworks_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