packages/apps/Camera2
Revision | 896ac2d867f54dc38c02ad3e79cea12945003a21 (tree) |
---|---|
Time | 2019-09-20 14:39:18 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | server180 |
Change default video quality to medium
@@ -115,7 +115,7 @@ public class Keys { | ||
115 | 115 | context.getString(R.string.pref_camera_focusmode_default), |
116 | 116 | context.getResources().getStringArray(R.array.pref_camera_focusmode_entryvalues)); |
117 | 117 | |
118 | - String videoQualityBackDefaultValue = context.getString(R.string.pref_video_quality_large); | |
118 | + String videoQualityBackDefaultValue = context.getString(R.string.pref_video_quality_medium); | |
119 | 119 | // TODO: We tweaked the default setting based on model string which is not ideal. Detecting |
120 | 120 | // CamcorderProfile capability is a better way to get this job done. However, |
121 | 121 | // |CamcorderProfile.hasProfile| needs camera id info. We need a way to provide camera id to |
@@ -134,7 +134,7 @@ public class Keys { | ||
134 | 134 | } |
135 | 135 | |
136 | 136 | settingsManager.setDefaults(KEY_VIDEO_QUALITY_FRONT, |
137 | - context.getString(R.string.pref_video_quality_large), | |
137 | + context.getString(R.string.pref_video_quality_medium), | |
138 | 138 | context.getResources().getStringArray(R.array.pref_video_quality_entryvalues)); |
139 | 139 | if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_FRONT)) { |
140 | 140 | settingsManager.setToDefault(SettingsManager.SCOPE_GLOBAL, |