commit | be683dba3497fb838cf56069bf9c56cc4d7ea057 | [log] [tgz] |
---|---|---|
author | Chengfei Tao <chengfeitao@google.com> | Tue Jan 31 18:52:49 2023 +0000 |
committer | Chengfei Tao <chengfeitao@google.com> | Wed Mar 22 01:17:46 2023 +0000 |
tree | 5c8173f200a197508e573a5e6d7047b20d5bcecd | |
parent | 5dbe42644cdac5d40ae24cb439d97b05c0f8c987 [diff] [blame] |
Force slowJpegMode on certain camera1 apps Turn off the large JPEG stream on camera1 apps that experience high power consumption during video call Bug: 254350466 Test: Manual testing with Messenger app video call Change-Id: I8bc4088cf9bb454a3e948cab60819ee41a1eda49
diff --git a/services/camera/libcameraservice/api1/Camera2Client.h b/services/camera/libcameraservice/api1/Camera2Client.h index f035fea..6d7651f 100644 --- a/services/camera/libcameraservice/api1/Camera2Client.h +++ b/services/camera/libcameraservice/api1/Camera2Client.h
@@ -114,7 +114,8 @@ uid_t clientUid, int servicePid, bool overrideForPerfClass, - bool overrideToPortrait); + bool overrideToPortrait, + bool forceSlowJpegMode); virtual ~Camera2Client();