summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/Drm.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2013-06-26 18:23:23 -0700
committerEino-Ville Talvala <etalvala@google.com>2013-06-27 15:00:26 -0700
commita691ff3c03e38e148bbefed35ebb15e552a12613 (patch)
treee40a419e636ccc48551c5810887e872b5ac9ee44 /media/libmediaplayerservice/Drm.cpp
parent209bbbcf4190231f9dede758cbe77d109919f9f1 (diff)
downloadframeworks_av-a691ff3c03e38e148bbefed35ebb15e552a12613.zip
frameworks_av-a691ff3c03e38e148bbefed35ebb15e552a12613.tar.gz
frameworks_av-a691ff3c03e38e148bbefed35ebb15e552a12613.tar.bz2
Camera2/3: Don't allow recording and callbacks to coexist.
- Tear down conflicting streams when necessary. - Shut down callbacks if recording starts - Do not allow callbacks to start if recording is active Per the current camera API, recording and preview callbacks cannot be active simultaneously. However, the framework did not explicitly disallow this, and in fact left the streams configured once they were created, even if switching between the two operational modes. In addition, no guards existed for trying to enable both recording and callbacks at the same time. Bug: 9423825 Change-Id: I7d6e6114c2e14fcfb5299b4c72ad557895cbf4b8
Diffstat (limited to 'media/libmediaplayerservice/Drm.cpp')
0 files changed, 0 insertions, 0 deletions