Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

packages-apps-Camera2: Commit

packages/apps/Camera2


Commit MetaInfo

Revision896ac2d867f54dc38c02ad3e79cea12945003a21 (tree)
Time2019-09-20 14:39:18
AuthorChih-Wei Huang <cwhuang@linu...>
Commiterserver180

Log Message

Change default video quality to medium

Change Summary

Incremental Difference

--- a/src/com/android/camera/settings/Keys.java
+++ b/src/com/android/camera/settings/Keys.java
@@ -115,7 +115,7 @@ public class Keys {
115115 context.getString(R.string.pref_camera_focusmode_default),
116116 context.getResources().getStringArray(R.array.pref_camera_focusmode_entryvalues));
117117
118- String videoQualityBackDefaultValue = context.getString(R.string.pref_video_quality_large);
118+ String videoQualityBackDefaultValue = context.getString(R.string.pref_video_quality_medium);
119119 // TODO: We tweaked the default setting based on model string which is not ideal. Detecting
120120 // CamcorderProfile capability is a better way to get this job done. However,
121121 // |CamcorderProfile.hasProfile| needs camera id info. We need a way to provide camera id to
@@ -134,7 +134,7 @@ public class Keys {
134134 }
135135
136136 settingsManager.setDefaults(KEY_VIDEO_QUALITY_FRONT,
137- context.getString(R.string.pref_video_quality_large),
137+ context.getString(R.string.pref_video_quality_medium),
138138 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues));
139139 if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_FRONT)) {
140140 settingsManager.setToDefault(SettingsManager.SCOPE_GLOBAL,
Show on old repository browser