summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-11-24 17:07:45 +0900
committerJiwoong Im <jiwoong.im@samsung.com>2016-12-07 07:59:51 +0900
commita9ed0b8e2b11aeeb0db23103924f349134a20c64 (patch)
tree0e377dab5c17e9f4eb4b2a445afaa76eff81a56f
parentb906bf24cb23920dcb46b5eca39cf0e3e7bd88f1 (diff)
downloadalarm-manager-a9ed0b8e2b11aeeb0db23103924f349134a20c64.tar.gz
alarm-manager-a9ed0b8e2b11aeeb0db23103924f349134a20c64.tar.bz2
alarm-manager-a9ed0b8e2b11aeeb0db23103924f349134a20c64.zip
fix alarmmgr_upgrade script
Change-Id: If6cbd453d26e28f6237513b79d76dedd9485a15a Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
-rwxr-xr-xscripts/108.alarmmgr_upgrade.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/108.alarmmgr_upgrade.sh b/scripts/108.alarmmgr_upgrade.sh
index ac1a229..9fa5dfd 100755
--- a/scripts/108.alarmmgr_upgrade.sh
+++ b/scripts/108.alarmmgr_upgrade.sh
@@ -21,6 +21,7 @@ CREATE TABLE alarmmgr_temp (
uid integer,
pid integer,
global integer,
+ is_disabled integer,
caller_pkgid text,
callee_pkgid text,
app_unique_name text,
@@ -55,7 +56,7 @@ INSERT INTO alarmmgr_temp \
alarm_type, reserved_info, dst_service_name, dst_service_name_mod \
FROM alarmmgr;
-UPDATE alarmmgr_temp SET uid=5001,global=0;
+UPDATE alarmmgr_temp SET uid=5001,global=0,is_disabled=0;
DROP TABLE alarmmgr;
ALTER TABLE alarmmgr_temp RENAME TO alarmmgr;