summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importreplicant-6.0-0003Abhisek Devkota2017-10-201-9/+9
| | | | Change-Id: I0fc3f1cb64f46ddb55e25af4ed1f027c6fb3bef7
* Automatic translation importAbhisek Devkota2017-09-196-11/+13
| | | | Change-Id: Ia45939b25494201e67f68ad7d25990a1fe6fdedb
* Automatic translation importreplicant-6.0-0002Abhisek Devkota2017-07-274-5/+5
| | | | Change-Id: Iaf74d263ac3bd0c78e4af919a2af7badbc3d2464
* Automatic translation importAbhisek Devkota2017-07-031-1/+1
| | | | Change-Id: Ia910c9085ebbc24b5401af65f194e528d9e8ca29
* Add orientation correction for landscape devicesandralex82017-06-265-6/+24
| | | | | | | | | | | | | Snap does not correctly handle devices with a landscape screen as rotation is 0 when device is in landscape while Snap assume that 0 is portrait. This lead to a rotated gui and a deformed preview. This commit: - Solve the gui rotation for Photo, Video and Panorama modules - Solve the deformed preview for Photo and Video (Panorama preview was ok with gui fix) - Solve the PhotoMenu rotation (all devices, it was also broken on portrait devices) Change-Id: Ic0b95904da6e13946c7e46e2e571b26da498db02
* Automatic translation importAbhisek Devkota2017-06-223-174/+176
| | | | Change-Id: Ic660a0041392af6181a873ae5aa861137d40ab2c
* Automatic translation importAbhisek Devkota2017-06-0327-23/+14
| | | | Change-Id: Ie7e9b07b99e6b12d86065c8e2413334509090446
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-2838-338/+1834
| | | | Change-Id: I10022ef978136b916ef41e72da1b664709dc0c74
* Snap/Strings: sensivity -> sensitivityHarry Youd2017-03-081-1/+1
| | | | Change-Id: Ib7c19a76567db2df0836fb9f99c52337ef4e1f18
* Allow to re-open Snap from recent menuGabriele M2017-02-261-0/+1
| | | | | | | | | An <activity> with an <activity-alias> doesn't automatically set "exported" to "true" if only <activity-alias> has intent filters. As consequence, it's impossible to re-start <activity> from the recent applications menu. Explicitly set exported to true to fix this. Change-Id: Id9612d704e71b5fa8093462e893a964753d67d50
* Snap: add auto-hdr option to photo menucodeworkx2017-02-241-1/+2
| | | | Change-Id: Ib8941843567fd822051830ce638e3f5d7ea21657
* Automatic translation importAbhisek Devkota2017-02-19108-44/+1575
| | | | Change-Id: Ia8a0d8a7546ee672d81f3b5468e1bbba47ddc8b9
* CameraNext: dynamically generate available photo resolutionsWilhelm Fitzpatrick2017-02-06105-9610/+310
| | | | | | | | | | Instead of depending on a large matching table, generated the list of picture sizes to show to the user directly from the supported list returned by the camera. The list is filtered to remove uselessly small resolutions on modern devices, to group resolutions by aspect ratio, and to filter out fairly similar sizes. Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
* Automatic translation importAbhisek Devkota2017-02-025-5/+11
| | | | Change-Id: I72e039d869162d366f518c282407b0f9754043bf
* Automatic translation importAbhisek Devkota2017-02-0116-12/+58
| | | | Change-Id: I55aaa2268468fedeb449f4d49cba49426c3fd080
* Automatic translation importAbhisek Devkota2017-01-2610-85/+201
| | | | Change-Id: I95d15c2a9457110b0d63070c4fe44cfa263a9b22
* Automatic translation importblinky@build012016-12-242-11/+11
| | | | | Change-Id: Ic835c1a5cf132cd1e3e917cddb62b1b89d2ecf4e Ticket: -
* Automatic translation importblinky@build012016-12-222-3/+3
| | | | | Change-Id: I5b9e0069f92dd27d4cd0f5d0d1a0148a539c3f91 Ticket: -
* Automatic translation importblinky@build012016-12-213-3/+441
| | | | | Change-Id: Ib04288bb15c47e8847258105507cb54d8db9aa96 Ticket: -
* Automatic translation importblinky@build012016-12-183-0/+201
| | | | | Change-Id: I6148a8f848a3e78a3c49c0437b4d6802200537f7 Ticket: -
* Automatic translation importclyde@build012016-12-163-0/+378
| | | | | Change-Id: I850fe910273b899a0d07f6398848ecc085516a82 Ticket: -
* Automatic translation importpinky@build012016-12-153-3/+5
| | | | | Change-Id: I80488aa940063206de52323c63ce739b40707efb Ticket: -
* Automatic translation importinky@build012016-12-024-8/+8
| | | | | Change-Id: I65c6091f9ef4962f1e2bbb8bfd6201e09bc65581 Ticket: -
* Automatic translation importinky@build012016-11-29107-9/+579
| | | | | Change-Id: Ibb1f9a8a71db2a6bc50ae477af1b34e4cb387291 Ticket: -
* Snap: Fix possible NPEMichael W2016-11-041-2/+4
| | | | | | | | Seems like getSupportedFocusModes() can return null. Check for null before using it further Change-Id: I46860f780b99970cbe9857c8ba73691d69321488 Reference: BugDumps 20161014-20 L#131
* Snap: Fix possible RuntimeException (due to NPE)Michael W2016-11-041-1/+1
| | | | | | | | | When the pref can't be found, index "-1" is returned, causing an NPE resulting in an RTE. Add check for a positive index before accessing the array Change-Id: Ifa80077c2090a9df449be608feaf4390c875ff0f Reference: BugDumps 13-20161014-20 L#40
* Fix off-by-one error in sub menu selection highlight.Danny Baumann2016-11-021-1/+2
| | | | Change-Id: I975495526671a4aa5311a471026831e0096a873c
* Fix off-by-one error in submenu selection handling.Danny Baumann2016-10-301-0/+4
| | | | Change-Id: I7e0f44110735d8e098abdf9724e89a837b96c3e9
* Furtherly improve list menu handling.Danny Baumann2016-10-077-39/+87
| | | | | | | Improve layout of top-level menu items, and avoid second level menu items being obscured by the navigation bar. Change-Id: Ic3ee983e33613f7337839d11cae9520b86636b7d
* Snap: Add picture resolutions for Axon 7c4572016-09-282-0/+16
| | | | Change-Id: Ia6a1ca122a04d3d8291aa588277237a6a45d11b3
* Automatic translation importpinky@build012016-09-258-0/+186
| | | | | Change-Id: Ieb5f12cca0084e13315a5766ff86f27c06c277b1 Ticket: -
* Automatic translation importclyde@build012016-09-0611-2/+20
| | | | | Change-Id: Ie982101ee79a6889fdee9d195ceb3939fcd771f6 Ticket: -
* Automatic translation importpinky@build012016-08-290-0/+0
| | | | | Change-Id: I0bdf8427a36d80fe4457af03a762809604393bc5 Ticket: -
* Automatic translation importpinky@build012016-08-27294-342/+2088
| | | | | Change-Id: Ie60269c6a734486ab20d56397bb8bf11c612c9cb Ticket: -
* SnapdragonCamera: Adding PRIVILEGED trueJack Yoo2016-08-251-0/+1
| | | | | | | Promoting privilege for direct SD card path access. Change-Id: I10f28606a646a85c0cb23e4cf8e617eafdcaa2b4 CRs-Fixed: 1032564
* SnapdragonCamera: Fix first-time crash and cleanup permissionsJay Wang2016-08-213-13/+3
| | | | | | | | | | | As onCreate skips the creation of setting manager when the critical permissions are not granted, this causes the onDestroy to call setting manager destroy function with null pointer. Fix the issue with null check. In addition, remove unused permissions from manifest file Change-Id: I99b5f09449aacfb7eb9a5771e446df75956a9827 CRs-Fixed: 1034202
* Snap: Fix bad merge of "Fixed M permission issue"Michael Bestas2016-08-211-7/+7
| | | | Change-Id: I493cac1abc38323a4f91506898d25b4f9aea1c79
* Snap: Make developer menu more accessibleMichael Bestas2016-08-203-25/+58
| | | | | | | | | | | | | | * Not all devices have red eye reduction, which made it impossible to enable advanced options. Move the toggle to max brightness option which is present in all devices. * Allow enabling advanced options through camcorder settings. * Move hardcoded strings to cm_strings for translations. * Close menus when developer mode is toggled so we can see the extra options when the menu is reopened. * Decrease taps to 7, matching Settings tap-to-enable. * Properly reset tap counter. Change-Id: Iac39b9309388b92bf75a49a6091b483b13bd9154
* SnapdragonCamera: Force removing preview cover for camcorderJay Wang2016-08-182-1/+14
| | | | | | | | A workaround to remove preview cover when starting recording, if preview cover is not removed right after preview started. Change-Id: I0870ddeec9d3f40a1459315e91e5230155be9f13 CRs-Fixed: 1016691
* SnapdragonCamera: Fix NPE caused by empty permission resultJay Wang2016-08-181-8/+12
| | | | | | | | | When request permission is cancelled, it returns empty result. Making change to check the length of result before accessing the result. Change-Id: Ic3e35c822e053fac7786d5e924ead8935feb1794 CRs-Fixed: 1041464
* snap: Change to target SDK 23Steve Kondik2016-08-181-1/+1
| | | | Change-Id: I0260710461d61d48211fe8a9efdeb5d192f862ff
* SnapdragonCamera: Remove custom location permission request windowJay Wang2016-08-189-67/+136
| | | | | | | | When user enables the GPS locaion setting, use Android's run-time permission request interface to get the permission. Change-Id: Ib17171aeff5ccf20e2b00da08243dee1a3383611 CRs-Fixed: 1038039
* Minimum viable Android M runtime permissions handling for H.zafir2016-08-186-6/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Creates new activity for permissions handling: both checking for permissions and handling error condition when critical permissions are not present. The reason for creating a new activity is so the app does not attempt to continue executing OnCreate, OnResume etc, which opens the camera while the dialogs are showing. This should not slow the app down because the permissions activity will only run when a) the first time the app has insufficient permissions and b) when a critical permission is missing and the app needs to shut down. Bug: 21273463 CRs-Fixed: 1019847 Change-Id: I603acfb3057ba26b9cfa7935eb4cb24b5d547cb5 (cherry picked from commit ad44cda82fe6ec5ee090115129223c6314f9e1bb) Fixes to M permissions. Previously, we called PermissionsActivity with startActivityForResult(). However, this creates race conditions as we check for permissions and the CameraActivity continues to operate. Now, we end CameraActivity and launch a new instance upon successful permissions resolution. We can also put the preload filmstrip logic back in its original place in onCreate. The checks for permissions happen in both onCreate and onResume. Bug: 22442745, 22478144, 22497152 CRs-Fixed: 1019847 Change-Id: I82e9125a46581db44aa61d4ee94aec5a820e9df0 (cherry picked from commit ac0e2425e77a9b69e76d2f31876798825ea44584) SnapdragonCamera: Fixed M permission issue - Resolved NPE while sending permission request - Made change to request non-critical permissions once only, but the critical permssions all th time. - Removed unused contant defines CRs-Fixed: 1019847 Change-Id: Ib997244cbcc041d86c094c7ee7a902bff56e92ad snap: Remove platform signature * We are using runtime permissions now. Change-Id: I3386214dbbc0915251941ef490e7cbaf27e6ed45
* SnapdragonCamera: Force removing preview coverJay Wang2016-08-182-0/+14
| | | | | | | | A workaround to remove preview cover after picture is taken, if preview cover is not removed right after preview started. Change-Id: I723d70fde6ecaf7302714daa6648c85d8a40d1b4 CRs-Fixed: 1016691
* SnapdragonCamera: Adjusting view initializationJack Yoo2016-08-146-23/+44
| | | | | | | | Instead of removing and adding the entire root view, changing only core surface view on module change. Change-Id: I5c39cf23b2a58280f4e4e8484865bbed0b12e1cf CRs-Fixed: 979254
* SnapdragonCamera: Turn off LONGSHOT on ubifocus scene modeJack Yoo2016-08-141-1/+3
| | | | | | | Turning off LONGSHOT mode to off when ubifocus scene mode is enabled. Change-Id: I5a1ce6a2c9fa08715da40a41f4aae694bd7f8654 CRs-Fixed: 984742
* Automatic translation importblinky@build012016-08-13104-1/+121
| | | | | Change-Id: Icde9e62950b8ae18e970956d74f13ef5c812047a Ticket: -
* Snap: String improvementsMichael Bestas2016-08-142-9/+9
| | | | Change-Id: I19f2f857afc848502fded5cc0632e94cf3a65152
* Snap: Support 9.6 MP 16:9 picture resolutionZhao Wei Liew2016-08-112-0/+4
| | | | | | This is the highest 16:9 picture resolution supported by Galaxy S4. Change-Id: I61ce779d7965ec87478ed31f8a1e7595c8eba7b0
* Snap: Remove storage menu if no external storage availablemaxwen2016-08-103-5/+22
| | | | | Change-Id: I9807c7f9303f17eb971ff1a82fbd35dfbdbfa529 Signed-off-by: Zdrowy Gosciu <ZdrowyGosciu+GITHUB@gmail.com>