summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2016-04-07 13:03:42 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2016-04-07 13:03:48 +0200
commit7b2fdd8fcaa6d7e2cd9d067c1eb3c805447df869 (patch)
tree8a84b9462716ee7fb8ccedf7dee7b500fcba0de5
parent1bcf6817111a16e0d0437958f6b76fefdd263362 (diff)
downloadindicator-win-7b2fdd8fcaa6d7e2cd9d067c1eb3c805447df869.tar.gz
indicator-win-7b2fdd8fcaa6d7e2cd9d067c1eb3c805447df869.tar.bz2
indicator-win-7b2fdd8fcaa6d7e2cd9d067c1eb3c805447df869.zip
Revert "Add privileges"
This reverts commit 1bcf6817111a16e0d0437958f6b76fefdd263362. Change-Id: I7565de56290ec4717bcf8d474167573a30386c2a
-rw-r--r--data/indicator.xml.in15
-rw-r--r--modules/processing/call.c9
2 files changed, 10 insertions, 14 deletions
diff --git a/data/indicator.xml.in b/data/indicator.xml.in
index aaed20b..6678342 100644
--- a/data/indicator.xml.in
+++ b/data/indicator.xml.in
@@ -10,21 +10,8 @@
<label>Indicator</label>
</ui-application>
<privileges>
- <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
- <privilege>http://tizen.org/privilege/system</privilege>
- <privilege>http://tizen.org/privilege/systemsettings.admin</privilege>
- <privilege>http://tizen.org/privilege/location</privilege>
- <privilege>http://tizen.org/privilege/location.enable</privilege>
- <privilege>http://tizen.org/privilege/bluetooth</privilege>
- <privilege>http://tizen.org/privilege/bluetooth.admin</privilege>
- <privilege>http://tizen.org/privilege/notification</privilege>
- <privilege>http://tizen.org/privilege/telephony</privilege>
<privilege>http://tizen.org/privilege/telephony.admin</privilege>
- <privilege>http://tizen.org/privilege/tethering.admin</privilege>
<privilege>http://tizen.org/privilege/wifidirect</privilege>
- <privilege>http://tizen.org/privilege/network.set</privilege>
- <privilege>http://tizen.org/privilege/network.get</privilege>
- <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
+ <privilege>http://tizen.org/privilege/notification</privilege>
</privileges>
-
</manifest>
diff --git a/modules/processing/call.c b/modules/processing/call.c
index f008de0..b6aa592 100644
--- a/modules/processing/call.c
+++ b/modules/processing/call.c
@@ -43,6 +43,15 @@ static int register_call_module(void *data);
static int unregister_call_module(void);
static void show_call_icon( void *data);
+enum {
+ CALL_UI_STATUS_NONE = 0,
+ CALL_UI_STATUS_INCOM,
+ CALL_UI_STATUS_OUTGOING,
+ CALL_UI_STATUS_ACTIVE,
+ CALL_UI_STATUS_HOLD,
+ CALL_UI_STATUS_END,
+};
+
icon_s call = {
.type = INDICATOR_IMG_ICON,
.name = MODULE_NAME,