From 8c07e6eb4e6d6d0c324ba2e25efc40db30cb98c1 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Mon, 31 May 2021 14:05:09 +0900 Subject: [PATCH] Remove path replacement function Removed the function that replaces path '/opt/usr/media' with path '/opt/usr/home/owner/media'. Only some old mobile apps used this hard-coded value. Change-Id: Iac41e61c53ca421c7f7846d8923bea7a58c9bee5 Signed-off-by: Minje Ahn --- lib/include/media-util.h | 3 --- packaging/media-server.spec | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/include/media-util.h b/lib/include/media-util.h index e7dfe51..e21e099 100755 --- a/lib/include/media-util.h +++ b/lib/include/media-util.h @@ -34,9 +34,6 @@ #include -/* TEMP :: Will be removed */ -#define MEDIA_ROOT_PATH_INTERNAL_OLD "/opt/usr/media" - #define MEDIA_ROOT_PATH_INTERNAL tzplatform_getenv(TZ_USER_CONTENT) #define MEDIA_ROOT_PATH_EXTERNAL tzplatform_getenv(TZ_SYS_STORAGE) #define MEDIA_ROOT_PATH_SDCARD tzplatform_mkpath(TZ_SYS_STORAGE, "SDCard") diff --git a/packaging/media-server.spec b/packaging/media-server.spec index 29fb1ba..8ac2d0c 100755 --- a/packaging/media-server.spec +++ b/packaging/media-server.spec @@ -1,6 +1,6 @@ Name: media-server Summary: A server for media content management -Version: 0.4.19 +Version: 0.4.20 Release: 0 Group: Multimedia/Service License: Apache-2.0 -- 2.7.4