40d3aad3972244f05888f03343cc1d23150532da |
|
09-Apr-2015 |
Paul Rohde <codelogic@google.com> |
Increase the thread priority of critical camera components. This increases the priority of the frame server and metadata response listeners that must respond immediatly to frames and callbacks that are returned from the camera HAL. Both threads have a tiny amout of code and callbacks that get run but must not block or they will stall the preview on image capture. This appears to only have limited impact on jank in the app. Bug: 19076469 Change-Id: I41845e094feffb1ecd3be9613489a3d70f916580
/packages/apps/Camera2/src/com/android/camera/async/HandlerFactory.java
|