summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set max support camera number to 16lineage-16.0jinwu2020-04-211-1/+1
| | | | Change-Id: Ia377fc6176bdf39e253f6aaf342344502e43bd17
* Snap: quickreader: Don't allow insecure actionsMichael W2020-04-152-4/+21
| | | | | | | | | * In order to not allow any app to start in the background or website to be opened, do not allow click actions on quickreader when the device is locked Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/1747 Change-Id: I75486dfb4468405356172c6da51abfca733ec541
* Automatic translation importMichael W2020-03-28247-251/+671
| | | | Change-Id: I8d17fe33125cd47f94fe66eb80b73b81f0eda67f
* Automatic translation importMichael W2020-03-272-0/+2
| | | | Change-Id: I9b9c37a937eff30cba2b462d7342a147a5767c34
* Automatic translation importMichael W2020-01-1448-46/+133
| | | | Change-Id: I6870b9741d099ee575d608112ab808b335d11b36
* Snap: Handle SDCard-removed caseMichael W2019-11-101-0/+8
| | | | | | | | | | | | | | * When the storage path has been set to SDCard but the card has been removed, there is currently no way to alter the setting and to get your cam to work properly again * Check the writeable-state of the sdcard on startup and fall back to using the internal storage in that case * The startup-flag is used to keep the current behaviour with removed SDcards while cam is still active * Fixes: https://gitlab.com/LineageOS/issues/android/issues/1376 Change-Id: Ib408883a6810693c93488f8a02fe061c56932d1d
* Snap: Don't spam exceptionsMichael W2019-11-101-3/+3
| | | | | | | | * When these fields don't exist, you get a lot of NoSuchFieldException stacktraces * Only do so when DEBUG is set, don't spam others Change-Id: I24261be15b2970fc3626f54eb309a10b0d003ff8
* snap: remove double resourcesAlessandro Astone2019-09-121-3/+0
| | | | Change-Id: I66866933e5ad6beb0fa047939f8e76b6d082b858
* Automatic translation importMichael Bestas2019-08-257-0/+56
| | | | Change-Id: I678e899cb9faaa356b135d94398dcdb2e33a84bb
* Automatic translation importMichael Bestas2019-08-047-9/+50
| | | | Change-Id: I0af8f23210322a6b6e9feeef82bbfaad9720ed33
* Automatic translation importMichael Bestas2019-07-062-1/+12
| | | | Change-Id: I80181ef2c966f33af7e794f15a1922c4ff930630
* Automatic translation importMichael Bestas2019-06-195-2/+25
| | | | Change-Id: I8e512778898bb65d01ed565e64f1533983f80b74
* Snap: allow to disable image stabilization per devicecodeworkx2019-06-152-0/+9
| | | | Change-Id: I4317f84285bdf97ba321ad5ddba7453f2b5d3b0c
* Automatic translation importMichael Bestas2019-06-0839-62/+615
| | | | Change-Id: Ieeed5210d2c0b89910bf6935130af869d7c23d9f
* Automatic translation importMichael Bestas2019-04-0731-26/+1424
| | | | Change-Id: I4e23d872514b29db98908e69e2fa412d82f40753
* Snap: Fix picture size preferencedianlujitao2019-03-211-1/+3
| | | | | | | | * Picture sizes are dynamically generated and no longer come with initial entries, thus reloadInitialEntriesAndEntryValues() would just set it to empty. Change-Id: I4d601bdf0faf8065ada7ea252c9d6120a230a420
* Automatic translation importMichael W2019-03-11416-50039/+1182
| | | | Change-Id: I9a8bed5cf79c0e6e290bc9864975b55326c2ecfd
* Snap: Add back original-package in manifestMichael Bestas2019-03-021-0/+2
| | | | | | | | * When you upgrade from 14.1 to 15.1 and then 16.0, Snap is no longer working because the system is confused about the package name. Change-Id: I5588dbda38063337a01409f19fd6e3b32b4e25ca
* Snap: Remove unused resourcesMichael Bestas2019-03-0211-3042/+0
| | | | | | | | | | | | | | | | | * They were leftover since we switched locale mapping Fixes: warning: string 'pref_camera_flashmode_label' has no default translation. warning: string 'pref_camera_flashmode_label' is missing 86 required localizations: af_ZA am_ET ar_EG as_IN ast_ES az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ cy_GB da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_US en_XC es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gd_GB gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA Change-Id: I6c90c297b89890cbf18f1325693dae156d51ff11
* Merge tag 'LA.UM.7.3.r1-06900-sdm845.0' into HEADBruno Martins2019-03-017-31/+64
|\ | | | | | | | | | | "LA.UM.7.3.r1-06900-sdm845.0" Change-Id: I4e8868d30070d938f48d98858a484607555649f3
| * Merge 4fc685f3217532da4d5d7bc0f2c8b289d1036c35 on remote branchLinux Build Service Account2019-02-103-20/+44
| |\ | | | | | | | | | Change-Id: I5e65bd3c1a28ab899ddee188137a53ec18501c10
| | * change to BUILD_NUMBER_FROM_FILEjinwu2019-01-071-3/+3
| | | | | | | | | | | | Change-Id: Ic21f10e0568dc7637da676d6fa40e9062e4af6e9
| | * SnapdragonCamera: Check for fixed focusRajshekar Eashwarappa2018-12-171-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Check whether the lens is fixed focus or variable focus 2. If the lens is fixed focus then just check for AE state and trigger snapshot, as AF state will always be 0 for fixed focus lens 3. For varialbe focus lenses check for both AF & AE state before trigger of Snapshot. Change-Id: Iafeae46bd4283d336e4686be0a055cf31297c8c5
| | * SnapdragonCamera: Completed the EIS and video HDR functionxianming wang2018-12-172-16/+33
| | | | | | | | | | | | | | | | | | | | | Completed the EIS and video HDR function. CRs-Fixed: 2308543 Change-Id: I92e5671e0009c48c45376d39ba8554b1fb756f61
| * | Merge 5455b09e9e1d76cba58624934e639564222ac994 on remote branchLinux Build Service Account2019-01-096-11/+20
| |\| | | | | | | | | | Change-Id: Ic2d394c5f6984c423412fa4284823c57db4af0fd
| | * Change version to 015zhuw2018-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | change version to 015 Change-Id: I4e98a3f8717f0d85915587f71c8fbd488a8137a0 CRs-Fixed:2353032
| | * SnapdragonCamera: SunSet and Landscape use HAL-ZSL modexianming wang2018-12-072-7/+5
| | | | | | | | | | | | | | | | | | | | | SunSet and Landscape use HAL-ZSL mode as default. CRs-Fixed: 2358000 Change-Id: I60e03ca3ec084c3fa85c3504c73fd54daf9f6279
| | * Requirement from EIS teamzhuw2018-11-233-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | don't set endofstream when pause by default add switcher for setting vendor tags when pasue CRs-Fixed:2353032 Change-Id: I7da748cff85584d65818834180a5f9a843c1009d
| | * Add video start/stop logs for KPIjinwu2018-09-101-0/+2
| | | | | | | | | | | | Change-Id: I3854b199e77fe0a636465b6fce91895a49ac1c03
* | | Automatic translation importMichael Bestas2019-02-2632-5/+328
| | | | | | | | | | | | Change-Id: I4bb0c84bde1c72fd47e2aca3d216aa51a3fe56d2
* | | Snap: Fix shutter button sizeArtem Borisov2019-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * This probably got messed up with some of the recent rebases, making our shutter button ugly and misaligned. * Set it to 80dp which is the proper value for our drawables. Change-Id: Ief53c8c121bc8a3ad1a81fe6780d78ca90bf39a9
* | | Snap: make support for bokeh mode configurable per devicecodeworkx2019-02-062-3/+23
| | | | | | | | | | | | | | | | | | Support is disabled by default. Change-Id: I5ab480e4eed9d314ae6f5ef78c5246397ebbe587
* | | Snap: Yet Another String ImprovementMichael Bestas2019-01-182-50/+50
| | | | | | | | | | | | Change-Id: I00584e113782a0b0478c1bf564736c803e3fcdb9
* | | Automatic translation importMichael Bestas2019-01-12416-13083/+94071
| | | | | | | | | | | | Change-Id: Iab289c23c3946aa292451a752856820f0c25fe72
* | | QuickReader: Update libsLuca Stefani2018-12-258-3/+4
| | | | | | | | | | | | Change-Id: I55a26a535ac2227fe3189465068d8e7d36879193
* | | Snap: Always allow 100% JPEG quality to be setZhao Wei Liew2018-12-191-17/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were checking if the selected JPEG quality was 100% and not setting the JPEG quality if some conditions were met. There isn't any history nor explanation on why we weren't setting the JPEG quality to 100%, so just remove the redundant check. Change-Id: Ie0ab555ad35942bd115751fd10e4f4c11fa7a76d
* | | Snap: Disable debugging of double open issueWang Han2018-12-191-1/+1
| | | | | | | | | | | | | | | | | | * Slows down camera opening and useless for us Change-Id: I2826704afc6b15fc4ca51ee0d29553f5b3dfb858
* | | Snap: Add missing NULL check in updateQcfaPictureSize()Wang Han2018-12-191-1/+3
| | | | | | | | | | | | | | | | | | * Fixes crash when enabling Qcfa Change-Id: I506a1d7da0b91bc48484bd251e0c6c9042962421
* | | Snap: Check various feature support before applyingWang Han2018-12-191-2/+14
| | | | | | | | | | | | | | | | | | * Fixes crash on devices which does not support it Change-Id: I39b9424ad200db6819a11aac6c319a22542d4131
* | | Snap: Fix layout of zoom optionWang Han2018-12-191-0/+1
| | | | | | | | | | | | Change-Id: Icb66e6912b6a5eb5ca638d121590ad3bcf128f18
* | | Snap: Create correct redeye reduction config iconWang Han2018-12-192-1/+12
| | | | | | | | | | | | | | | | | | * Create another one with black color Change-Id: I971496bd9f5e3cf5c8f88ad66a4213ff19bcb312
* | | Snap: Avoid crash with empty RAW output sizeWang Han2018-12-191-1/+1
| | | | | | | | | | | | | | | | | | * Check for length of rawSize, fixes front camera on oneplus2 Change-Id: I3640fde2e6649c715c26cf366d2b71679b59a83c
* | | Fix get aePref is null in PhotoMenujinwu2018-12-191-1/+1
| | | | | | | | | | | | Change-Id: I225ab63336302ff0b3b863e9cb6d2ba74ed0ac3e
* | | Fix to change default mode to Camera1 HAL1zhuw2018-12-191-1/+1
| | | | | | | | | | | | Change-Id: Id8f03260cf4753206240cf829eea9be5735b90e6
* | | SnapdragonCamera: Fix parameters NullPointerExceptionxianming wang2018-12-191-0/+1
| | | | | | | | | | | | | | | | | | | | | Fix parameters is NullPointerException in China App Stress. CRs-Fixed: 2307806 Change-Id: I71fff4cb32361ad0e66d6460ca8dc01167c8a009
* | | SnapdragonCamera: SetParameters use the mParameters Objectmingwax2018-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | User should use the mParameters take the place of mCameraDevice. getParameters. In order to update parameter in time. CRs-Fixed: 2054913 Change-Id: I605f05322a2a6072c40014f7ab472802c0350107
* | | DisableCameraReceiver: Initialize CameraHolder before usedianlujitao2018-12-191-0/+14
| | | | | | | | | | | | Change-Id: If4c38d19d3c88317ddd4f651acea5e036dbe8544
* | | Fix force close when launch camera on Pzhuw2018-11-206-85/+81
| | | | | | | | | | | | | | | | | | Don't use hardware.camera.CameraInfo any more Change-Id: I2d0dacc0b597c05df9eacd2fee1e26a33d4de8e7
* | | Snap: use platform certcodeworkx2018-11-201-1/+2
| | | | | | | | | | | | | | | | | | This is needed to be able to put Snap into it's own selinux domain. Change-Id: I23f73723a9b62ee67b6d0f234898828eba945962
* | | CameraSettings: Do not crash if zoom ratios are not exposeddkati2018-11-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * On some devices, wrappers do not expose the zoom ratios, so the list of zoomRatios is empty. So the .add() method cant run from a null class. If zoom rations are not exposed, simply return an empty list and the camera will take the default HAL's zoom ratios -This fixes front camera photo shoot on jfltexx Change-Id: Ic64e41a8c5a2d51966ec95d4b020e5d3951eac0e