DO NOT MERGE 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: Ic695299a03fe442e36a35b0770b855ac989c0923
This commit is contained in:
chengfeitao 2023-03-11 00:18:16 +00:00 committed by Chengfei Tao
parent 0c6775b821
commit e379409e2d
2 changed files with 12 additions and 0 deletions

View file

@ -327,4 +327,10 @@
Note: This should be only enabled on devices with high confidence on power measurement.
-->
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
<!-- The list of packages to force slowJpegMode for Apps using Camera API1 -->
<string-array name="config_forceSlowJpegModeList" translatable="false">
<item>com.facebook.orca</item>
<item>com.skype.raider</item>
</string-array>
</resources>

View file

@ -303,4 +303,10 @@
Note: This should be only enabled on devices with high confidence on power measurement.
-->
<bool name="config_bg_current_drain_auto_restrict_abusive_apps">true</bool>
<!-- The list of packages to force slowJpegMode for Apps using Camera API1 -->
<string-array name="config_forceSlowJpegModeList" translatable="false">
<item>com.facebook.orca</item>
<item>com.skype.raider</item>
</string-array>
</resources>