hj kim [Thu, 7 Feb 2019 07:45:35 +0000 (16:45 +0900)]
Check parameter before using it
Change-Id: I0983c27db93bfe6adfef1c2cf0d9dbd60f998e69
hj kim [Thu, 7 Feb 2019 07:45:04 +0000 (16:45 +0900)]
Fix build error
Change-Id: Ie87c54db81efb208777c6bca5681b355a4f8360b
hj kim [Thu, 7 Feb 2019 07:05:33 +0000 (07:05 +0000)]
Merge "[ACR-1348] Fix bug of media_info_insert_to_db API" into tizen
jiyong.min [Thu, 7 Feb 2019 04:15:07 +0000 (13:15 +0900)]
Remove unused 'modified_date' from product and rearrange
'MEDIA_INFO_ITEM' with 10 items / line
Change-Id: I63280bb6076019d10a864cb91fea4d1cdfd2f410
Minje Ahn [Tue, 29 Jan 2019 01:59:18 +0000 (10:59 +0900)]
[ACR-1348] Fix bug of media_info_insert_to_db API
When the media_info handle is returned, modify it to include the latest media information.
(In the past, if the media info you requested was in the database,
this API returned the media info without making sure it was up-to-date.)
Change-Id: Ib3e6b63247fa3cc92e03177666b49b3de4be2dae
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
jiyong.min [Tue, 29 Jan 2019 00:20:07 +0000 (09:20 +0900)]
Add to check the return of fseek()
Change-Id: Iba167d0f8aa4ceb095f3a27202fb0ac2a0ce75b1
Minje Ahn [Wed, 23 Jan 2019 23:38:40 +0000 (08:38 +0900)]
Remove description for deprecated APIs
Change-Id: I32ad58418ea83822f15d1ef5a0d3527f8718f4cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
yujie.cheng [Tue, 22 Jan 2019 02:38:11 +0000 (10:38 +0800)]
fix build error in videoplayer
Change-Id: I606380ada842bbca1c772526e9cd5e5c1efe3a9f
yujie.cheng [Fri, 18 Jan 2019 07:05:18 +0000 (15:05 +0800)]
fix media item order issue in TV product
Change-Id: Ic21c4c4b989b253e59d344d4b0907b1337501402
yujie.cheng [Thu, 17 Jan 2019 09:10:23 +0000 (17:10 +0800)]
app need to rename folder in tv
Change-Id: Ice0c4ca31ad1eba07376f53112df9927a8c7745e
Minje Ahn [Wed, 16 Jan 2019 05:41:13 +0000 (14:41 +0900)]
Add miss define
Change-Id: I5d5b8a4e1f008059c95caa2dfd7bf25515d37df5
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Mon, 14 Jan 2019 08:36:27 +0000 (17:36 +0900)]
Update rating info (rating is only for internal support)
Change-Id: I951b76321b756522423527d2f35bf87a8a876257
jiyong.min [Wed, 9 Jan 2019 23:03:43 +0000 (08:03 +0900)]
Fix the log position to avoid errno change. (errno can be changed when using dlog)
Change-Id: I4a81986414f8a5b5dc252b888c19410bc324b1a1
Minje Ahn [Wed, 9 Jan 2019 08:32:03 +0000 (17:32 +0900)]
Fix log position to avoid errno change. (errno can be changed when using dlog)
Change-Id: Ie8aac74cc9c9a2d47ac77905ed49bddcc717f113
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 8 Jan 2019 06:55:25 +0000 (15:55 +0900)]
Add deprecated API to internal for web API
Change-Id: I87c81203c8172551d8474da668570ac680a00077
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 7 Jan 2019 07:37:30 +0000 (16:37 +0900)]
Add some deprecated APIs for web API
Change-Id: Ib54fe74d99b7930fb6f8381e54ec516afdc97c36
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 4 Jan 2019 06:52:41 +0000 (15:52 +0900)]
[Temp] Add dummy for deprecated API
Change-Id: I8385b9422c6ea23248c08a8305f2345064febd1b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
jiyong.min [Fri, 7 Dec 2018 04:20:21 +0000 (13:20 +0900)]
Fix format error in logs
Change-Id: Iabff39c573098956539e845d925e289764879522
hj kim [Tue, 4 Dec 2018 01:51:29 +0000 (01:51 +0000)]
Merge "add service_profile field for pvr table" into tizen
chen89.chen [Mon, 3 Dec 2018 11:09:38 +0000 (19:09 +0800)]
add service_profile field for pvr table
Change-Id: I2a89f0abc806b3fa4e8a8cb09094b9b4760232a9
hj kim [Fri, 30 Nov 2018 04:42:56 +0000 (13:42 +0900)]
use media_db_request_update_db() directly
Change-Id: Ibde3d441df2593d10471ebb057d2a7c77c7fc287
Minje Ahn [Fri, 30 Nov 2018 01:36:06 +0000 (10:36 +0900)]
Remove wrapping struct
Use sqlite3 Explicitly
Change-Id: Iefb9567a18ae5eb9366feb117ec155a491a5890f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 30 Nov 2018 01:16:09 +0000 (10:16 +0900)]
Change DB connection API
Use media-util instead media-svc
Change-Id: Ia468835e7711382c5834535948c36efb39ceff1e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Nov 2018 01:45:44 +0000 (10:45 +0900)]
Change storage type function
Use media-util function instead
Change-Id: I2447446f63e681a5ecd18db09a20064459b7ec05
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 7 Nov 2018 01:53:22 +0000 (10:53 +0900)]
[ACR-1308] Remove deprecated APIs
Change-Id: If80cbeb11bc18a18d97c293c53e171072fe9794f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 31 Oct 2018 04:53:46 +0000 (13:53 +0900)]
Remove dlog from pc_dependents
Change-Id: I233f5d946d3c52c4f4c65802c14960c200515ec8
SeokHoon Lee [Thu, 20 Sep 2018 02:56:25 +0000 (11:56 +0900)]
Add gcov environment
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I61d6ef7e0a94724303be7a7b8788ad4b272eba33
Minje Ahn [Tue, 18 Sep 2018 07:39:49 +0000 (16:39 +0900)]
Reinforce code for coverage
Change-Id: Ia914a53405a3a463b79ac6db68911b3ce8a67642
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 9 Aug 2018 05:48:14 +0000 (14:48 +0900)]
Remove function for rollback path
Code modification according to policy change
- return path
- path for notification
Change-Id: I31f6f84f02f0d43e61f413354f6d42a6e5e13d52
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 2 Aug 2018 04:24:34 +0000 (13:24 +0900)]
Update path replacement function
Use hardcording instead of storage API (because of storage API changes)
Change-Id: I92562dbc6c55bfd3ed86d723c0efd4e34db31f33
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 19 Jul 2018 07:10:32 +0000 (16:10 +0900)]
Fix log msg
Change-Id: I152cc08c52d442c7a48984a16d3629606999a702
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 17 Jul 2018 05:01:41 +0000 (14:01 +0900)]
Remove unused define for query
Change-Id: Ia34466faef0d027f1522360e199061d324bd9371
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 13 Jul 2018 02:39:03 +0000 (11:39 +0900)]
Exception handling and behavior improvements
Change-Id: Iea495c4ae0f13dc0ac382b4eaec29823ad45390f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
yujie.cheng [Wed, 4 Jul 2018 08:11:20 +0000 (16:11 +0800)]
fix build issue of folder api
Change-Id: I2e7244b866ef7951fb88ff317e94360375f0d959
yujie.cheng [Mon, 2 Jul 2018 08:40:13 +0000 (16:40 +0800)]
add new api: insert folder item into database
Change-Id: I6e6e302fa4f6618faa5a7f635386f0318694afc0
Minje Ahn [Tue, 8 May 2018 05:47:39 +0000 (14:47 +0900)]
[ACR-1249] Deprecate APIs related with storage id and type
Change-Id: I3ece6ca87206a7a3a05e252db707d4c1a28a1074
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Fri, 22 Jun 2018 05:14:45 +0000 (14:14 +0900)]
Svace Issue fix
Change-Id: Ib9d6dd21a03d4067172841fc9a0eb35c367f3098
hj kim [Fri, 22 Jun 2018 00:49:59 +0000 (09:49 +0900)]
Just update api description
Change-Id: I33af23014296467d015b6af78311fce76adffc88
Minje Ahn [Mon, 28 May 2018 06:23:49 +0000 (15:23 +0900)]
[ACR-1226] deprecate function to remove item from db
Change-Id: If222b2d61e81f3a6fb8b87ad35bb71497fb44fd8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 11 May 2018 00:48:06 +0000 (09:48 +0900)]
Reinforce API description
Change-Id: I881b8f955f0fb5ea9b0d3f20452fe7a03168aaa3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 27 Mar 2018 07:44:26 +0000 (16:44 +0900)]
[ACR-1189] Modified media move operation
Change-Id: I0feee8cf70bde8ab9030e18749faf37448cd0ae2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Mar 2018 02:16:39 +0000 (11:16 +0900)]
Fix media_view define
Change DB_TABLE_MEDIA_VIEW to DB_VIEW_MEDIA
Change-Id: I9179aaa66de1b788991bba05d34ca54f74e7b7f3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Fri, 23 Mar 2018 00:17:35 +0000 (09:17 +0900)]
Fix Coverity issues
Change-Id: I3eff8d956ede7c51cc6c6bc7d642cfbf0ad36d3f
hj kim [Mon, 19 Mar 2018 10:16:43 +0000 (19:16 +0900)]
Fix coverity issues
Change-Id: Id0f867452ca0210cda470c9d5c4f44f8388e6b01
Minje Ahn [Mon, 5 Feb 2018 07:35:49 +0000 (16:35 +0900)]
[ACR-1163] Add synchronous API to create thumbnails
Change-Id: Ib7de464bf2ec6cc38591a043393b52a6cd1f406b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 15 Mar 2018 05:31:53 +0000 (14:31 +0900)]
Fix coverity issue
Change-Id: Id63881557215757b0f2fac1bf6c3ed0e09c79812
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 13 Mar 2018 23:42:36 +0000 (08:42 +0900)]
Fix bug of removed directory scanning
Change-Id: I33a83dd72f39d86171220f68f5682dcee1624d98
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 13 Mar 2018 06:44:06 +0000 (15:44 +0900)]
Add function to trim the path
Change-Id: I6fa4bb11965eb86ae0b0ddf48e6c9ea363fcb23a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 9 Mar 2018 03:58:23 +0000 (12:58 +0900)]
Fix for removed file case
Change-Id: I36c52f10c9f14cf2a030e129834e05bb3bc38a71
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 6 Mar 2018 23:36:23 +0000 (08:36 +0900)]
Modified to check suffix before symbolic link check
Some case, user input the directory path containing '/' suffix
Change-Id: Ibcdae6728189413aeb46a5c895294a379264c7fd
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 26 Feb 2018 02:07:46 +0000 (11:07 +0900)]
[ACR-1167] Exception handling when path contains symbolic link
Change-Id: I425c2cdfabfcd00f254bebbd962961f5dff026d4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 5 Mar 2018 05:09:24 +0000 (14:09 +0900)]
Fix typo
Change-Id: I5e82a7f272e34708a1b63dc9237a4de3ad1cfefc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Sun, 25 Feb 2018 23:29:00 +0000 (08:29 +0900)]
Remove unused log message
- Fix build warning
Change-Id: Ia995e20056aeeba4cbddd79dcc6cc50fd30f0b0c
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Minje Ahn [Mon, 5 Feb 2018 03:40:06 +0000 (12:40 +0900)]
Fix doxygen error
Change-Id: I0cdd94ecd1115d2dfbb6596d534de36a087f952f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
(cherry picked from commit
f8485d32c818e6af9ec8d9884cdff151eaddf580)
hj kim [Wed, 24 Jan 2018 01:47:33 +0000 (10:47 +0900)]
Fix wrong description for MEDIA_CONTENT_ERROR_PERMISSION_DENIED.
APIs which just read media DB, don't return MEDIA_CONTENT_ERROR_PERMISSION_DENIED
Change-Id: Ife05f71620f188c70299bbdae58ffde1869b8103
hj kim [Mon, 22 Jan 2018 05:32:35 +0000 (14:32 +0900)]
Fix Doxygen mistakes
Change-Id: I505b0d7a02ed7de5af3f814f43d3223f485804f7
hj kim [Wed, 17 Jan 2018 00:35:25 +0000 (09:35 +0900)]
Add details for the get_Recorded_date APIs
Change-Id: I019ab90c858d53147ecd3166ba4313fed0f13507
Minje Ahn [Tue, 16 Jan 2018 07:16:48 +0000 (16:16 +0900)]
Modify wrong description
Change-Id: Ia58ecdc7d08404ab7a7c84af99913563714c5ee3
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Fri, 22 Dec 2017 00:40:49 +0000 (09:40 +0900)]
Add return type for content.scanning.others feature
Change-Id: I62daf16885edc19823464cbcefe955d13eaa3593
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 21 Dec 2017 02:06:43 +0000 (11:06 +0900)]
[ACR-1129] Add feature
Change-Id: I8244836284444864a619fbf2bbca9395bca235a0
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 15 Nov 2017 06:00:26 +0000 (15:00 +0900)]
[ACR-1112] Remove deprecated APIs
- media_audio.h
int audio_meta_get_played_count(audio_meta_h audio, int *played_count)
int audio_meta_get_played_time(audio_meta_h audio, time_t *played_time)
int audio_meta_get_played_position(audio_meta_h audio, int *played_position)
int audio_meta_set_played_count(audio_meta_h audio, int played_count)
int audio_meta_set_played_time(audio_meta_h audio, time_t played_time)
int audio_meta_set_played_position(audio_meta_h audio, int played_position)
- media_content.h
int media_content_set_db_updated_cb(media_content_db_update_cb callback, void *user_data)
int media_content_unset_db_updated_cb(void)
- media_video.h
int video_meta_get_played_count(video_meta_h video, int *played_count)
int video_meta_get_played_time(video_meta_h video, time_t *played_time)
int video_meta_get_played_position(video_meta_h video, int *played_position)
int video_meta_set_played_count(video_meta_h video, int played_count)
int video_meta_set_played_time(video_meta_h video, time_t played_time)
int video_meta_set_played_position(video_meta_h video, int played_position)
Change-Id: Ifb323383cebf6492b2803e7a27e1b1af2cb3eb1c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 14 Dec 2017 08:06:24 +0000 (17:06 +0900)]
Fix description error
Change-Id: I9a6a51b160ea4eb29f3b18061f5ece54043fd5ec
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
chen89.chen [Fri, 1 Dec 2017 06:14:49 +0000 (14:14 +0800)]
fix assertion failed: hash_table->ref_count >0, add lock to db query
Change-Id: Id2649795347929619a4d0786af5fd5b5c97eae04
hj kim [Thu, 30 Nov 2017 01:13:22 +0000 (10:13 +0900)]
Change hard coded path to get by using tzplatform API
Change-Id: Ifb60af2295a7f2edb4ea0cde0d9e1c4511eea4a7
Minje Ahn [Wed, 22 Nov 2017 05:30:25 +0000 (14:30 +0900)]
Remove unused parameter when request face detection
Change-Id: I81340eaa2e7ab3944ba3e585bc6d4d7aad804866
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 21 Nov 2017 00:26:54 +0000 (09:26 +0900)]
Remove unused parameter
Change-Id: I9ddc73dab9119b746dad9d848370dd1303a58786
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 14 Nov 2017 23:48:47 +0000 (08:48 +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: I293a3bbbf62ef22c66b74243a6e4554ac69974cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 13 Nov 2017 07:36:34 +0000 (16:36 +0900)]
Change face uuid to id
Change-Id: Ia2073317f35c59b259e05aa3af32462017b4a995
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 9 Nov 2017 02:13:50 +0000 (11:13 +0900)]
Add missing privilege (No change in behavior)
Change-Id: I2254ec462865fe6d42687ceef432905ae441356f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 12 Oct 2017 06:32:21 +0000 (15:32 +0900)]
Remove weather in image struct
Change-Id: I1f8357839256b8fe6e540a3649b26653d909465a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 11 Oct 2017 06:15:46 +0000 (15:15 +0900)]
[ACR-1102] Deprecate unusable user data
Change-Id: I3c32091020733ec9bbee5eed89a8beb292a774d7
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 10 Oct 2017 23:56:57 +0000 (08:56 +0900)]
Update description
Change-Id: I9c5e0c9418716d86714e4001bf15b8d39bfcf6c1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 10 Oct 2017 06:23:04 +0000 (15:23 +0900)]
[ACR-1098] Deprecate APIs for product
deprecated media_info_delete_batch_from_db, media_info_insert_burst_shot_to_db, image_meta_get_burst_id(), image_meta_is_burst_shot() and burst shot related code.
Change-Id: I6ec952ba364ac8d0594f7c07fb063a4468a8beb9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Fri, 29 Sep 2017 00:38:42 +0000 (09:38 +0900)]
Just add debug msg
Change-Id: I6a77c118bacee4cc76d97a2cc3fd6190fe9acdb1
Haejeong Kim [Wed, 27 Sep 2017 02:01:21 +0000 (11:01 +0900)]
Change strcmp to g_strcmp0
Change-Id: Ie8764b3d1240773c5ff9ce9f2ace83cfed64fac4
Minje Ahn [Wed, 20 Sep 2017 08:09:08 +0000 (17:09 +0900)]
Fix rename folder API
Change-Id: I700cbbffcfc4a01131486a1d18f1dff691d07058
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 19 Sep 2017 00:49:23 +0000 (09:49 +0900)]
Update description about move API
Add description and processing for the same path
Add processing for already existing information
Change-Id: I1b64b19511afb58855fe92283eb5dd8a379f3e9a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 11 Sep 2017 07:28:13 +0000 (16:28 +0900)]
Modify checker for scan ignore
Use g_dir_open instead of readdir_r
Change-Id: Idc9f0ddd3c16809443435a28268c44c0370b4160
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Wed, 6 Sep 2017 02:50:46 +0000 (11:50 +0900)]
Change free to SAFE_FREE
Change-Id: Ia9c841b2a7860a572aa1f709537122df493f816f
Haejeong Kim [Tue, 5 Sep 2017 00:54:05 +0000 (09:54 +0900)]
Apply tizen coding rule
Change-Id: I9d231edf1e0a186a292bd5b3253d2ef0511fd590
Haejeong Kim [Mon, 28 Aug 2017 02:00:31 +0000 (11:00 +0900)]
Add BuildRequires for sqlite3
Change-Id: I71cb9903939432c8853eaa2e7e4f4779802fd5f6
Minje Ahn [Fri, 25 Aug 2017 01:34:20 +0000 (10:34 +0900)]
Update TV feature define
Change USE_TV_PROFILE to USE_TVPD_MODE
Change-Id: Id52c4ce7bc2fd0c4b59e3320d85a98a537e8db60
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Tue, 22 Aug 2017 05:54:15 +0000 (14:54 +0900)]
1. Code sync to product code
2. Change some define name
Change-Id: I080b031b450c6d66dd340095cf36ca4e25d7ea69
Minje Ahn [Fri, 18 Aug 2017 02:09:10 +0000 (11:09 +0900)]
Update description for info move API
Add note
Add process for checking storage type
Change-Id: I116fd846b57ed1d5a99e8c697233d763967dca5c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Wed, 16 Aug 2017 05:08:51 +0000 (14:08 +0900)]
face related db schema changed
1. user_marked field will be "1" for the user added face info. 2. modified_time field will be "0" when user remove system dete
Change-Id: I3fbe078520136e035dae580e323d7efc5f081735
Haejeong Kim [Fri, 11 Aug 2017 05:26:09 +0000 (14:26 +0900)]
1. Check file validity more when batch/burst_shot insert
2. Some code cleanup regarding file validity checking
Change-Id: Ied09b61a97cf73f2661c08891e036d93936d3286
Minje Ahn [Fri, 4 Aug 2017 02:09:28 +0000 (11:09 +0900)]
Remove unused input parameter
For cancel, Use request_id instead of full path
Change-Id: I5c840edab2da0728adf78149ae032355c5219883
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 31 Jul 2017 02:35:49 +0000 (11:35 +0900)]
[ACR] Deprecate API that is paired with media_info_set_author
author information is user data.
Therefore, the get function is not needed if the set function does not exist. (media_info_set_author() is deprecated since 4.0)
Change-Id: Ie00cb7a57891e202eb82b978de055091df173f01
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Mon, 31 Jul 2017 07:59:40 +0000 (16:59 +0900)]
Modify define for TV product
(requested by VD)
Change-Id: I566bbebdd69fc66d95fe97df45ef20b8c4139ac0
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Minje Ahn [Thu, 27 Jul 2017 07:07:34 +0000 (16:07 +0900)]
Remove storage_name from SELECT queries.
storage_name was exist only in SDCard case. (CID)
but not used anywherer and deprecated.
Change-Id: I6e16dafe1e3a0fec97afa60178176c4b5d6b5898
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Mon, 24 Jul 2017 06:24:19 +0000 (15:24 +0900)]
Fix PVS warnings
Change-Id: If6ad1e8f25d17147d0731650696f2e8788256b54
Minje Ahn [Thu, 13 Jul 2017 09:12:03 +0000 (18:12 +0900)]
[MMFWN-734]Add internal API for system service
Change-Id: I7d1610a6fa47946beeeec1ab34eae3c51a3b13cc
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Tue, 11 Jul 2017 02:15:38 +0000 (11:15 +0900)]
[TNEXT-1108] Verify that the path is the content path
Change-Id: Ic4c0c40c68e820eea394671164b6cadc4c4ab3c1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Mon, 10 Jul 2017 05:11:14 +0000 (14:11 +0900)]
Remove wrong name checking
Change-Id: Id8ffb5e2d0c760049bcc0f7136436e86f9e186ef
Minje Ahn [Tue, 4 Jul 2017 05:50:10 +0000 (14:50 +0900)]
Fix batch remove API
1. Modified to check all storages.
2. Only the modified storage(root path) will be announced.
Change-Id: I5b594df4d3ab46e4891960017a0cb7de0a67f7a8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Mon, 3 Jul 2017 02:45:45 +0000 (11:45 +0900)]
Refactoring code in media filter
1. Merge API to generate condition
2. Modified to create condition using internal character array instead of out parameter
3. Move condition binding code into _media_filter_attribute_generate()
4. Replace define 'QUERY_KEYWORD_SPACE' instead of 'SPACE' (And remove SPACE)
Change-Id: I25f31f825841f01e3c46b42ee633244149b9c0c6
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Thu, 29 Jun 2017 02:01:48 +0000 (11:01 +0900)]
Change logic of get_parent_folder_id()
Usage is low. So, DB access when API is called.
Change-Id: Id35568e34805b1116fa30c5b036c20d0584c784d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Minje Ahn [Wed, 28 Jun 2017 05:28:25 +0000 (14:28 +0900)]
[ACR] Deprecate API that provides folder modified time
Change-Id: I5135cb90cc2c1633005da4a503b35787b55c6cee
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Haejeong Kim [Thu, 29 Jun 2017 04:32:34 +0000 (13:32 +0900)]
API description update regarding the callback
Change-Id: Ib961bd31063a88386e170528f3aea9f670ee3101
Minje Ahn [Fri, 23 Jun 2017 04:47:43 +0000 (13:47 +0900)]
Fixed how to get parent folder ID
Use another query for getting parent folder uuid
Change-Id: Iffc9e300b95d017aae2cede1ae1676503324fa2b
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>