hj kim [Wed, 5 Dec 2018 01:59:54 +0000 (10:59 +0900)]
Add Werror options
Change-Id: I752766a443e7affc014b502bdb41773fe0f4709c
Minje Ahn [Mon, 3 Dec 2018 04:00:50 +0000 (13:00 +0900)]
Remove db-util dependency
Change-Id: I79465b0e344204e6142f53226798e934f3a1108f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Fri, 30 Nov 2018 05:34:51 +0000 (14:34 +0900)]
Rearrange the code which is used only internally in media-svc-type.h.
Change-Id: I5d5e062ccf2dcd4fb6791e2370e3389ad757f654
hj kim [Fri, 30 Nov 2018 04:45:30 +0000 (13:45 +0900)]
Remove unused API media_svc_request_update_db()
Change-Id: Ic2e250e886bc080e67a21fc985a7afce5ebe7359
hj kim [Fri, 30 Nov 2018 02:30:23 +0000 (11:30 +0900)]
Check input parmeters
Change-Id: I849997c6e108bcab03c6ea0bc93afe71bef098ea
Minje Ahn [Fri, 30 Nov 2018 01:35:36 +0000 (10:35 +0900)]
Remove wrapping struct
Use sqlite3 Explicitly
Change-Id: I443d67880f7d4e87743856fc3f61b74615d4be37
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Nov 2018 01:16:46 +0000 (10:16 +0900)]
Change DB connection API
Use media-util instead media-svc
Change-Id: I71658388d108e1d0b2846c3fcd91df84782b23a2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Thu, 29 Nov 2018 09:20:56 +0000 (18:20 +0900)]
Add parameter checking code
Change-Id: If26c1acb68ecd5682acbcd483163b1cf5744edb3
Minje Ahn [Thu, 29 Nov 2018 07:18:19 +0000 (16:18 +0900)]
Remove unused parameter
Delete unused DB handle
Change-Id: Icda51ad05dbca4c3bc0c75ee11ea64bda1ab1a02
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Nov 2018 01:59:54 +0000 (10:59 +0900)]
Change storage type function
Use media-util function instead
Change-Id: I83c690b20c900201fe284de7ab7b6181b7eed56c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 28 Nov 2018 06:25:08 +0000 (15:25 +0900)]
Delete err_msg
This is old code.
No more error msgs are required.
Use return value instead.
Change-Id: I6920c44e02f8f07eca404444c0ee948e0322401b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 27 Nov 2018 06:21:59 +0000 (15:21 +0900)]
Move macro to utility header
Change-Id: I753738d64f19b9f5561b75ab2e6013a9ffd53abb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 28 Nov 2018 09:04:58 +0000 (09:04 +0000)]
Merge "Adding initial structure for unittest" into tizen
jiyong.min [Tue, 20 Nov 2018 03:30:13 +0000 (12:30 +0900)]
Adding initial structure for unittest
- It has testcase for libmedia_service of unittest
- It would be enabled by gtest build with '--define "gtests 1"'
- It would be executed by user mode
Change-Id: If9b002fa6505279295b94d5bf4876e876fe00575
Minje Ahn [Wed, 7 Nov 2018 01:53:55 +0000 (10:53 +0900)]
[ACR-1308] Remove deprecated APIs
Change-Id: I153afe01ce343a6a9d84e26d874003e903c925ae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Tue, 30 Oct 2018 05:10:27 +0000 (14:10 +0900)]
Remove requires. Anything is required for using libmedia-service.
Change-Id: I40fb4f466172cbf83c3b5f94a8708f23a136debc
hj kim [Thu, 4 Oct 2018 00:44:30 +0000 (09:44 +0900)]
Svace issue fix
Change-Id: I505ce1778e8c74be3a7e4d7c45b9a993684f161a
Minje Ahn [Tue, 17 Jul 2018 07:13:53 +0000 (16:13 +0900)]
Modify thumbnail store path
Unifies the thumbnail path regardless of the storage type
Change-Id: I1c613a7282e16b394a3fa567ea8971c031337a79
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 4 Jul 2018 07:40:30 +0000 (16:40 +0900)]
Add code for DB upgrade from v6 to v7
Changes:
Remove STORAGE_NAME, SCAN_STATUS from storage
Remove SCAN_STATUS from folder
Change-Id: I57cf764e3c99170708a1a5b6943031fd8ca4c317
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Fri, 22 Jun 2018 05:15:06 +0000 (14:15 +0900)]
Svace Issue fix
Change-Id: I2011e1f2c42c422dd4bfffbf7e733c6a91dcb5ed
Minje Ahn [Mon, 14 May 2018 05:12:41 +0000 (14:12 +0900)]
Remove unused parameter from plugin function
Remove scan_status from get_storage_list.
It is unused in function.
Change-Id: I452c88febe35e04fbff7a520b4051f3f47baf992
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 11 May 2018 07:09:37 +0000 (16:09 +0900)]
Remove storage_name column
1. Remove storage name column from DB
2. Remove parameter related with storage name from functions
Change-Id: Ia72d897416c77798607e06e49e4501eaf3cef461
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 12 Apr 2018 00:17:13 +0000 (09:17 +0900)]
Modified query for remove
storage_type is no longer needed
Change-Id: Id57c2b91bd977f5f66570bbf8bc2c0bbe4159a33
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 11 Apr 2018 07:18:29 +0000 (16:18 +0900)]
Add fortify option
Change-Id: Iba4a356252a251530059142f90b7dc673f890f32
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 9 Apr 2018 06:13:35 +0000 (15:13 +0900)]
Remove unused function
1. Remove the code for scanner v2 only
2. Remove unused plugin function
Change-Id: I4498a02e2e48f007625af3d568790598394ea112
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 3 Apr 2018 06:29:34 +0000 (15:29 +0900)]
Add function for invalid storage
Change-Id: I12eee14bbb4fbb6b60f8f53d9b46bee3077efb3d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 2 Apr 2018 07:42:24 +0000 (16:42 +0900)]
Modified queries for thumbnail
Change-Id: I9282be2b1230d1acdaca31bda3f7edb9d0089da8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 27 Mar 2018 07:43:04 +0000 (16:43 +0900)]
[ACR-1189] Modified media move operation
Modified to support USB storage
Change-Id: Id0f874109f83c658a91a92a9b349eb85843e729e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Fri, 23 Mar 2018 00:52:43 +0000 (09:52 +0900)]
Fix coverity issues
Change-Id: I607b2e0b299ec7c4dc6742d39c54414efcf7027c
Minje Ahn [Fri, 23 Mar 2018 00:19:48 +0000 (09:19 +0900)]
Bug fix for metadata update when changing language
Change-Id: I2fcaeb5a1b0c7d03298448bf0008e423ce13ea13
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 22 Mar 2018 01:18:03 +0000 (10:18 +0900)]
Add plugin function for scanner v2
Change-Id: I1045befd148858eef5f71c1989d033433038d0a3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Mon, 19 Mar 2018 08:40:52 +0000 (17:40 +0900)]
Fix coverity issues
Change-Id: If134d399ad2b442477c703070a58230057f25c9f
Minje Ahn [Mon, 5 Feb 2018 07:34:52 +0000 (16:34 +0900)]
[ACR-1163] Add synchronous API to create thumbnails
Change-Id: I13494f948a36ae3bd0fd1968f7b898d58b739978
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Thu, 15 Mar 2018 09:33:57 +0000 (18:33 +0900)]
Replace default image type to IMG_CODEC_UNKNOWN_TYPE
Change-Id: I60ea773bd0c33c1217fcf1e354e863c9bc11df82
Jiyong Min [Mon, 12 Feb 2018 08:13:45 +0000 (17:13 +0900)]
Updates color enums for refactoring of libmm-utility
Change-Id: Id1e54b842ba095b783868dac7a03af458d6c2210
Minje Ahn [Thu, 8 Feb 2018 05:14:28 +0000 (14:14 +0900)]
[SATIZENVUL-1318] Modified sql print type. %s to %q
Change-Id: I19db04b0970e15b7ea4d97e6e3f9e0b57c5d7eeb
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 1 Feb 2018 23:49:45 +0000 (08:49 +0900)]
Change thumbnail generation location
Change thumbnail generation location from thumb-server to media-service
Change-Id: Iffb2364c075fb7bc1b72a37923cbc42cb3d8b266
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Thu, 1 Feb 2018 08:01:08 +0000 (17:01 +0900)]
Use mm_util_extract_image_info() instead of ImgGetImageInfo() in libmedia-thumbnail
Change-Id: I03d1216ec296373cd3222ec5b0ad47c068422564
hj kim [Thu, 1 Feb 2018 02:44:09 +0000 (11:44 +0900)]
Use new image_util(magicK) APIs instead of Old one
Change-Id: Ic05939470633836ff7ae678417888cfd245ba918
Minje Ahn [Mon, 29 Jan 2018 23:33:35 +0000 (08:33 +0900)]
Modified query about check storage
Change-Id: I296313b8a2713f939ef8d8212c681a21d6d01c89
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 15 Jan 2018 23:56:22 +0000 (08:56 +0900)]
Modify the procedure for extracting media metadata
As:
Check album info -> Extract album art
To be:
Extract album art -> Check album info
For categorize extract type and reduce the extra flags, modify the procedure
Change-Id: I829a9bfc13ebd1d59a6312256ce91d7bab9c1832
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 22 Dec 2017 02:16:38 +0000 (11:16 +0900)]
Add checker for content.filter.pinyin feature
Change-Id: I85ea1e02dcb674c673a1975a424b98d1abdb7cf0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 16 Nov 2017 05:14:02 +0000 (14:14 +0900)]
[ACR-1112] Remove deprecated APIs
Change-Id: Ica77daeb5ba7fe4cedfa181bee5e6ce61c5596a9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Tue, 21 Nov 2017 01:17:23 +0000 (10:17 +0900)]
Change DB connection option to Read only
Change-Id: I6760d6ed71b148326e041520e7e04d4fd870e4d3
Minje Ahn [Tue, 14 Nov 2017 23:56:22 +0000 (08:56 +0900)]
Remove user_marked field in face table
Add face scan status for distinguish between file changes and re-scans.
- file modified time > face detected time : file is changed
- face detected time == 0 : some detected faces are removed by user
Change logic to re-scan:
- Do not delete, add missing. Delete is performed only when the file is modified.
- Delete unnecessary fields (user_marked)
Change-Id: Ibe9333e80b5feea4162a2b03fe407ceaf343fc70
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 13 Nov 2017 07:34:43 +0000 (16:34 +0900)]
Change face uuid to id
Change-Id: Iaa7e9a2d389552d74001edec4db46f1b1a098cc8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 10 Nov 2017 03:10:34 +0000 (12:10 +0900)]
Remove unnecessary DB field
Change-Id: I3490daed239e92b3c83ecdb5d78328ad9f5bce01
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 27 Oct 2017 05:09:24 +0000 (14:09 +0900)]
Modified to compensate for time zone
Change-Id: Id6ca590a246b2454852993876623c74e85a3dae4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Wed, 27 Sep 2017 02:37:20 +0000 (11:37 +0900)]
Apply tizen coding rule
Change-Id: I637f107f4f23dd14e5d498f35d08e5bd62a27d45
Minje Ahn [Wed, 27 Sep 2017 02:16:58 +0000 (11:16 +0900)]
Remove unnecessary parameter in the query
Change-Id: I6d9f0abb6b32b72060cfb9be2126ca6dc06d5c79
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 26 Sep 2017 08:21:33 +0000 (17:21 +0900)]
Modify to use glist length instead of counter
Modify length checker
Add exception handler for multiples of 200
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Change-Id: Ib42a226bd53a6c8250dc2a56583d3f89e881b004
hj kim [Tue, 26 Sep 2017 07:16:21 +0000 (07:16 +0000)]
Merge "Fix playlist/tag bulk update" into tizen
Minje Ahn [Tue, 26 Sep 2017 06:48:14 +0000 (15:48 +0900)]
Fix playlist/tag bulk update
Add counter initialization
Change-Id: I19c1bb8222062bb65718e50e1226b7bf5be1b96d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 25 Sep 2017 07:24:13 +0000 (16:24 +0900)]
Remove unnecessary header and function
Remove stat header
Remove some function and variable
Change-Id: Ifca7e8941b3b31142bdc5561c27f67ba94c38888
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 25 Sep 2017 09:12:57 +0000 (18:12 +0900)]
Fix bug when use fresh function
Need to consider the case of no thumbnail
Change-Id: I36012e1cbaaedceb722120e257a75f70b885ade4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 20 Sep 2017 02:04:14 +0000 (11:04 +0900)]
Fix rename folder API
Use modified time in file system instead of current time
Change-Id: I8d52cce7f8c1cc27da99847254ec39febd926f83
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 18 Sep 2017 06:07:58 +0000 (15:07 +0900)]
Remove rollback query
Media db does not use journal mode. So, no need rollback query.
Change-Id: Ib30222d8369bf59349c435dbfc76111a7fabc72b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 18 Sep 2017 06:04:43 +0000 (15:04 +0900)]
Remove unused plugin API
Change-Id: Ic52583c3217d9bba3cc23b5da8b6267d9a40a373
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Tue, 12 Sep 2017 03:41:40 +0000 (03:41 +0000)]
Merge "Apply tizen coding rule" into tizen
Haejeong Kim [Tue, 12 Sep 2017 02:07:43 +0000 (02:07 +0000)]
Merge "Apply tizen coding rule" into tizen
Haejeong Kim [Tue, 12 Sep 2017 00:12:24 +0000 (09:12 +0900)]
Apply tizen coding rule
Change-Id: I1485452294c9de44dfc29908d0b5d823598def0f
Haejeong Kim [Mon, 11 Sep 2017 23:57:00 +0000 (08:57 +0900)]
Apply tizen coding rule
Change-Id: I9f5fbb4546ebcd413b15a10070a98dae6334f4dc
Minje Ahn [Mon, 11 Sep 2017 05:30:53 +0000 (14:30 +0900)]
Modify function for remove thumbnail
Use g_dir_open instead of readdir_r
Change-Id: I79a68a14314415b15edb66b339a7747667ccdb5f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Wed, 6 Sep 2017 04:55:34 +0000 (13:55 +0900)]
Change free to SAFE_FREE
Change-Id: If3bfd0fd562dd73de3527734b3a483c89dcf2404
Haejeong Kim [Wed, 6 Sep 2017 01:51:04 +0000 (10:51 +0900)]
Remove unused code of _PERFORMANCE_CHECK_ and remove empty media-svc-debug.c file
Change-Id: Ie2746976b141edde37c5419c2df2d3e4f8dc89f9
Haejeong Kim [Wed, 6 Sep 2017 01:46:24 +0000 (10:46 +0900)]
Remove unused code of _USE_LOG_FILE_
Change-Id: Ic79b502463c3bc4805f4cda12796386066760b1d
Haejeong Kim [Wed, 6 Sep 2017 01:14:12 +0000 (10:14 +0900)]
Remove \n in dlog msg
Change-Id: I646b8ee34192b134aca176a951d152c2a85fbfc7
Minje Ahn [Mon, 4 Sep 2017 01:35:23 +0000 (10:35 +0900)]
Fix memory leak
Change-Id: I9186fe28e7bf05af07fde463bf3d3c52748e133d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 1 Sep 2017 05:59:10 +0000 (14:59 +0900)]
Remove pvr, uhd table
Remove table for product
Change-Id: I02f9269976ee9051351fc62f1f07360f1ba1cb8d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 1 Sep 2017 05:05:39 +0000 (14:05 +0900)]
Move logic for reset mediadb
Change-Id: I9a023ce952e61ac0378489d2bc083b57da6df01f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 31 Aug 2017 08:33:13 +0000 (17:33 +0900)]
Remove unused internal api
Change-Id: I7cee309842a054cff7e9b4a4bea600c52f3e01a3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 31 Aug 2017 08:10:04 +0000 (17:10 +0900)]
Remove unused plugin APIs
Removed API list
count_subfolder
delete_invalid_folder_by_path
get_folder_list
count_delete_items_in_folder
delete_all_invalid_items_in_folder
Change-Id: I5a92b981853d3b447b78f58d1233d6753732068b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 30 Aug 2017 05:07:29 +0000 (14:07 +0900)]
Update the query used to delete invalid items in storage
Change-Id: I6a6e63c61474f3135b0267fde2524fed4cdbe843
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 28 Aug 2017 07:53:44 +0000 (16:53 +0900)]
Remove useless parameters and queries
Change-Id: I76c32ee538ab814b3eea21f2b57701878e53d53d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 17 Aug 2017 08:16:58 +0000 (17:16 +0900)]
Merge function for getting thumbnail folder
Change-Id: I62f8355638aa441fe2352ae323021ac1d97d1f48
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 17 Aug 2017 06:59:02 +0000 (15:59 +0900)]
Change storage type enum name (ms_user_storage_type_t -> ms_user_storage_type_e)
Change-Id: I194e27c3670518d7c4d20ab72198fb29d4cb58d1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 17 Aug 2017 05:09:51 +0000 (14:09 +0900)]
Modify parameters
Change structure list to g_list
Use define instead of parameters
Change-Id: I9f7c83a6c01b2675e86830ddd9765cf2731fa974
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Wed, 16 Aug 2017 05:00:06 +0000 (14:00 +0900)]
Change Face related DB Schema. add modified_time in face_scan_list, add user_marked in face
Change-Id: I936e841016e3bde09565758e0de85770af41c5e4
Minje Ahn [Mon, 31 Jul 2017 01:09:22 +0000 (10:09 +0900)]
Add check to file_name
Change-Id: I9d517360cd5da0b05ff185dbf5292767a6f0bf07
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 27 Jul 2017 06:17:25 +0000 (15:17 +0900)]
Remove unused parameters in plugin API
Change-Id: I9f30d2ee5835bb53f8cf150ad9cdc64480ee52d5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 27 Jul 2017 05:33:00 +0000 (14:33 +0900)]
Update query-related code
Use column name instead of *
Add query for upgrade when v5 to v6
Change-Id: Id02950b71904d7123420fa7acc5e31921953bc42
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 26 Jul 2017 03:09:32 +0000 (12:09 +0900)]
Remove unused code and files
Update the version because it is a file deletion patch
Remove *-localize-utils.*
Change-Id: I945c161d76c63d203d7e73f6d12bfd046679fd6e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 26 Jul 2017 01:44:44 +0000 (10:44 +0900)]
Remove Unused function
Change-Id: Idc767ea6c1a2adb41d2f9177ad125e95d449271f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 26 Jul 2017 01:20:13 +0000 (10:20 +0900)]
Remove _strncpy_safe()
Use g_strlcpy instead of _strncpy_safe
Change-Id: I3e64ffcbd590177b320dda75e1d70c9e1cc81089
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 26 Jul 2017 00:28:57 +0000 (09:28 +0900)]
Remove unused code
Change-Id: I412c3a167376370f32dc77dedb6aaab1fced347b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 25 Jul 2017 23:32:14 +0000 (08:32 +0900)]
Remove extracted flag process
No longer needed.
Change-Id: I168fbe26f35981ff0e3aa350373aac4ef3a9739d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 25 Jul 2017 08:09:19 +0000 (17:09 +0900)]
Remove __media_svc_malloc_and_strncpy
Use g_strdup instead of __media_svc_malloc_and_strncpy
Change-Id: Id4c31b18c9e7ff096b05d32d1f882ca2cef12c7b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 25 Jul 2017 06:29:05 +0000 (15:29 +0900)]
Remove __media_svc_malloc_and_strncpy_with_size()
Use g_strdup instead of __media_svc_malloc_and_strncpy_with_size
Change-Id: I34df062c9b2c4b933a792ff78c34857e0f0dcb4f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 25 Jul 2017 05:47:17 +0000 (14:47 +0900)]
Update define
Change-Id: Iffc127f670768a50398a76ece58ca3e86f6ab95b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 20 Jul 2017 08:38:23 +0000 (17:38 +0900)]
Update enum name
Change-Id: I3935ce12cf93e8554136547ccb1b84622a20c6ba
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 19 Jul 2017 05:41:27 +0000 (14:41 +0900)]
Fix face table user version
Change-Id: Ia8be20932d4ee2edc6842e3d9bce140c7c2eca84
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 18 Jul 2017 04:32:45 +0000 (13:32 +0900)]
[SATIZENVUL-925] Check allocation
And remove unused media-svc-localize_tw related files.
Change-Id: I335746e3bea37bfcfb89ea2056eb6033f69cdea8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 14 Jul 2017 07:07:36 +0000 (16:07 +0900)]
Fix duplicated query
Change-Id: I9c8d2c7545f19c23b6043bea46d07b2badd30cb5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 13 Jul 2017 09:20:14 +0000 (18:20 +0900)]
Add checker for input parameters
Change-Id: I79c23b47d4f07615ac064282ec8cf05f9e62297f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 12 Jul 2017 07:50:09 +0000 (16:50 +0900)]
Free value before check error
Change-Id: Ic3940fe63606c7fa64876c4e12bb0daafe330fda
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 11 Jul 2017 04:42:46 +0000 (13:42 +0900)]
Remove unreachable code
Always width, height are greater than 0
Change-Id: I63e612ff8340452b9d9ef4ff16bbd9ade995c273
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 5 Jul 2017 05:09:49 +0000 (14:09 +0900)]
Check folder validity when insert media info
If parent folder validity is 0, set to 1
Change-Id: I11dbcaa71308c53ac3a104199f163b0f66b6ca10
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Jun 2017 03:44:16 +0000 (12:44 +0900)]
Fix query to get un-scanned folder list
Change-Id: I92ceadb411cd72613c12c72138cdbfae61bc3bc9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Fri, 30 Jun 2017 01:46:24 +0000 (10:46 +0900)]
Fix memory leak
Change-Id: I25a14cb3a7e72557f80f6dadad8c0b186aa29b89
Haejeong Kim [Thu, 29 Jun 2017 09:33:54 +0000 (18:33 +0900)]
Remove useless __media_svc_get_title_from_filepath() call to make title.
Default title is already set in _media_svc_set_default_value(), so don't need to make title again
Change-Id: I7a94346d87869ed2a8bfb07d08a93e0d66e3c0f4