From 6966fc02a0d974059c428edf1028faa89d02d7f7 Mon Sep 17 00:00:00 2001 From: Shobhit Verma Date: Fri, 26 Aug 2016 17:46:56 +0530 Subject: [PATCH] [TCT][TPK scripts][NONACR][Added support to remov calendar.read privilege for wearable profile] Change-Id: If7db9456efa18c427e99ad5cca402fed3e73f8cc Signed-off-by: Shobhit Verma --- scripts_tpk/tpk_create.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts_tpk/tpk_create.sh b/scripts_tpk/tpk_create.sh index b5c5a03..45e72c1 100755 --- a/scripts_tpk/tpk_create.sh +++ b/scripts_tpk/tpk_create.sh @@ -312,8 +312,14 @@ deploySourceFile() { if [ $MODULE_NAME == "sync-manager" ]; then if [ "$5" == "utc" ]; then sed -i -e 's/core.sync-manager-tests/org.tizen.sync-manager-native-utc/g' tizen-manifest.xml + if [[ $macro =~ "WEARABLE" ]]; then + sed -i '/calendar.read/d' tizen-manifest.xml + fi elif [ "$5" == "itc" ]; then sed -i -e 's/native.sync-manager-itc/org.tizen.sync-manager-native-itc/g' tizen-manifest.xml + if [[ $macro =~ "WEARABLE" ]]; then + sed -i '/calendar.read/d' tizen-manifest.xml + fi fi fi ## Module specific changes end -- 2.7.4