Raphael Kubo da Costa [Wed, 15 Oct 2014 09:21:25 +0000 (12:21 +0300)]
Merge pull request #383 from tiwanek/XWALK-2710
[Datasync] Add missing runtime dependency
Tomasz Iwanek [Wed, 15 Oct 2014 08:16:18 +0000 (10:16 +0200)]
[Datasync] Add missing runtime dependency
BUG=XWALK-2710
Crosswalk Release Engineering [Tue, 14 Oct 2014 15:20:07 +0000 (15:20 +0000)]
Bump version to 0.104
Alexander Shalamov [Tue, 14 Oct 2014 12:12:52 +0000 (15:12 +0300)]
Merge pull request #382 from alexshalamov/fix_nfc_commands
[Tizen][NFC] Fix case of the NFC commands
Alexander Shalamov [Tue, 14 Oct 2014 11:59:37 +0000 (14:59 +0300)]
[Tizen][NFC] Fix case of the NFC commands
NFC commands were out of sync between extension instance and
JS code. This patch fixes that issue.
Crosswalk Release Engineering [Fri, 10 Oct 2014 15:20:10 +0000 (15:20 +0000)]
Bump version to 0.103
Raphael Kubo da Costa [Fri, 10 Oct 2014 12:06:39 +0000 (15:06 +0300)]
Merge pull request #380 from eurogiciel-oss/XWALK-2419
[Bluetooth] fix initialization in IVI and getDefaultAdapter()
Corentin Lecouvey [Fri, 10 Oct 2014 09:53:18 +0000 (11:53 +0200)]
[Bluetooth] fix initialization in IVI and getDefaultAdapter()
bluetooth-frwk doesn't handle correctly the case that the bluetooth is
powered and its framework is off. In that case, we call a hackish method
in order to start bt-service daemon via dbus service activation.
This patch also prevents from being blocked in getDefaultAdapter() method.
BUG=XWALK-2419
Crosswalk Release Engineering [Fri, 3 Oct 2014 15:20:05 +0000 (15:20 +0000)]
Bump version to 0.102
Kenneth Rohde Christiansen [Fri, 3 Oct 2014 08:03:49 +0000 (10:03 +0200)]
Merge pull request #376 from zolkis/master
W3C Telephony API implementation.
Zoltan Kis [Fri, 19 Sep 2014 19:18:02 +0000 (22:18 +0300)]
W3C Telephony implementation
Implements the latest W3C Telephony API specification found at http://telephony.sysapps.org/
Requires the oFono telephony middleware and the BlueZ Bluetooth middleware for working with paired phones.
BUG=XWALK-1419
Crosswalk Release Engineering [Fri, 26 Sep 2014 15:21:27 +0000 (15:21 +0000)]
Bump version to 0.101
Halton Huo [Fri, 26 Sep 2014 00:56:23 +0000 (08:56 +0800)]
Merge pull request #379 from rakuco/fix-style-issues
Fix coding style issues in the code base.
Raphael Kubo da Costa [Thu, 25 Sep 2014 16:04:22 +0000 (19:04 +0300)]
system_info: Fix coding style violations.
./system_info/system_info_sim_ivi.cc:129: If an else has a brace on one side, it should have it on both [readability/braces] [5]
./system_info/system_info_locale.h:35: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_cellular_network.h:34: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_network.h:54: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_wifi_network.h:44: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_cpu.h:37: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_device_orientation.h:41: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_peripheral.h:34: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_battery.h:38: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_build.h:44: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_display.h:48: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
BUG=XWALK-2649
Raphael Kubo da Costa [Thu, 25 Sep 2014 16:03:29 +0000 (19:03 +0300)]
common: Fix coding style violations.
./common/virtual_fs.cc:57: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:58: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:61: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:62: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:63: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:64: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:65: Lines should be <= 80 characters long [whitespace/line_length] [2]
./common/virtual_fs.cc:66: Lines should be <= 80 characters long [whitespace/line_length] [2]
BUG=XWALK-2649
Raphael Kubo da Costa [Thu, 25 Sep 2014 16:02:52 +0000 (19:02 +0300)]
web_setting: Fix coding style violations.
./web_setting/web_setting.h:20: Lines should be <= 80 characters long [whitespace/line_length] [2]
BUG=XWALK-2649
Crosswalk Release Engineering [Wed, 24 Sep 2014 22:05:03 +0000 (22:05 +0000)]
Bump version to 0.100
Halton Huo [Wed, 24 Sep 2014 01:22:34 +0000 (09:22 +0800)]
Merge pull request #375 from tiwanek/XWALK-1061
DataSync tizen plugin implementation
Crosswalk Release Engineering [Tue, 23 Sep 2014 22:05:25 +0000 (22:05 +0000)]
Bump version to 0.99
Tomasz Iwanek [Wed, 9 Jul 2014 09:45:07 +0000 (11:45 +0200)]
DataSync tizen plugin implementation
SPEC=https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/datasync.html
BUG=XWALK-1061
----------------------------------------------------
Running TCT:
- install rpms on device:
- libwbxml2,
- sync-agent,
- oma-ds-agent (and start: systemctl start oma-ds-agent.service),
- copy 'tct-datasync-tizen-tests.wgt' to device,
- install and run application,
Current TCT datasync passrate: 63/63
--------------------------------------------------
Halton Huo [Tue, 23 Sep 2014 13:11:57 +0000 (21:11 +0800)]
Merge pull request #377 from izaman/master
[SSO] Correct the key names to make the implementation compliant to the API spec file(widl)
Imran Zaman [Tue, 23 Sep 2014 11:43:01 +0000 (14:43 +0300)]
[SSO] Correct the key names to make the implementation compliant to the API spec file(widl)
BUG=XWALK-2470
Crosswalk Release Engineering [Fri, 19 Sep 2014 22:05:00 +0000 (22:05 +0000)]
Bump version to 0.98
Halton Huo [Fri, 19 Sep 2014 04:53:51 +0000 (12:53 +0800)]
Merge pull request #367 from eurogiciel-oss/multi-user
Multi user features :
Halton Huo [Fri, 19 Sep 2014 02:59:41 +0000 (10:59 +0800)]
Merge pull request #365 from tripzero/master
zones, subscribe and unsubscribe support
Halton Huo [Fri, 19 Sep 2014 02:23:40 +0000 (10:23 +0800)]
Merge pull request #374 from Pating/master
two bluetooth bugs
Kevron Rees [Tue, 5 Aug 2014 23:30:24 +0000 (16:30 -0700)]
zones, subscribe and unsubscribe support
BUG=XWALK-865
SPEC=https://rawgit.com/w3c/automotive-bg/master/vehicle_spec.html
Sabera Djelti (sdi2) [Fri, 22 Aug 2014 08:46:41 +0000 (10:46 +0200)]
Multi user features :
->Use Usr App related fonctions instead of Global App related Functions
Change-Id: I85dc3729d79dd35eeea77216b3f199266a896a29
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
Changlong Xie [Wed, 17 Sep 2014 09:50:16 +0000 (17:50 +0800)]
[Bluetooth] add adapter.sockets.push when calling connectToServiceByUUID API
Socket should be stored in adapter object after creation
concerns TCT test cases :
- BluetoothSocket_onmessage_callback
- BluetoothSocket_readData
Changlong Xie [Wed, 17 Sep 2014 09:34:12 +0000 (17:34 +0800)]
[Bluetooth] remove 'isConnected' in BluetoothSocket object
BluetoothSocket object doesn't have 'isConnected' property, and
this fix just concerns Bluez 4 backend.
Crosswalk Release Engineering [Tue, 16 Sep 2014 22:05:53 +0000 (22:05 +0000)]
Bump version to 0.97
Halton Huo [Tue, 16 Sep 2014 00:42:29 +0000 (08:42 +0800)]
Merge pull request #373 from eurogiciel-oss/XWALK-2370
run examples and demos with xwalk-launcher
Crosswalk Release Engineering [Fri, 12 Sep 2014 22:06:10 +0000 (22:06 +0000)]
Bump version to 0.96
Corentin Lecouvey [Thu, 11 Sep 2014 10:07:39 +0000 (12:07 +0200)]
run examples and demos with xwalk-launcher
As /usr/bin/xwalk binary doesn't exist anymore, we can not launch
examples and demos from xwalk binary.
In addition, this patch removes tizen-extensions-crosswalk script file
which appears to be useless right now.
BUG=XWALK-2370
Halton Huo [Fri, 12 Sep 2014 01:35:14 +0000 (09:35 +0800)]
Merge pull request #372 from sragavan/master
[MediaRenderer] Fix issues with Mute and Volume apis.
Crosswalk Release Engineering [Thu, 11 Sep 2014 22:05:05 +0000 (22:05 +0000)]
Bump version to 0.95
Srinivasa Ragavan [Wed, 10 Sep 2014 05:50:24 +0000 (11:20 +0530)]
[MediaRenderer] Fix issues with Mute and Volume apis.
Refactored and fixed issues in Mute and Volume APIs and added
dbus code for reading arrays.
Halton Huo [Thu, 11 Sep 2014 03:22:06 +0000 (11:22 +0800)]
Merge pull request #371 from jizydorczyk/master
WebSetting plugin implementation
Jakub Izydorczyk [Thu, 31 Jul 2014 11:35:08 +0000 (13:35 +0200)]
WebSetting plugin implementation
The Web setting extension defines APIs that manages the setting states of the Web view in Web application.
Properties of the Web view that can be managed via Web setting API:
- Delete all cookies saved for the web view in the Web application
- Set a custom user agent string of the web view in Web application
This commit includes implementation of API for Web application to set custom user agent and
remove all application cookies.
Result of running tct-tizen-websetting tests: 22/22 pass.
BUG=XWALK-1063
Crosswalk Release Engineering [Tue, 9 Sep 2014 22:04:58 +0000 (22:04 +0000)]
Bump version to 0.94
Halton Huo [Tue, 9 Sep 2014 08:48:42 +0000 (16:48 +0800)]
Merge pull request #370 from halton/master
Remove redunant dependency of libgsignon-glib
Halton Huo [Tue, 9 Sep 2014 06:36:53 +0000 (14:36 +0800)]
Merge pull request #360 from scuxiayiqian/implement_usb_host
Implement the detection of USB Flash devices on IVI.
scuxiayiqian [Wed, 30 Jul 2014 08:31:08 +0000 (04:31 -0400)]
[SysInfo] Use udev to monitor storage device.
This patch unifies desktop and tizen implementaion for storage module using udev API.
In udev, usb and sd card are treated as same type of device.
BUG=XWALK-2040
Halton Huo [Tue, 9 Sep 2014 02:19:56 +0000 (10:19 +0800)]
Merge pull request #368 from eurogiciel-oss/bluetooth_health
[Bluetooth] Implement health profile API and improve extension
Crosswalk Release Engineering [Fri, 5 Sep 2014 22:05:38 +0000 (22:05 +0000)]
Bump version to 0.93
Corentin Lecouvey [Thu, 4 Sep 2014 09:30:01 +0000 (11:30 +0200)]
[Bluetooth] add health profile related API
Corentin Lecouvey [Thu, 4 Sep 2014 10:10:19 +0000 (12:10 +0200)]
[Bluetooth] fix services recording and connection feature
Corentin Lecouvey [Thu, 4 Sep 2014 08:43:50 +0000 (10:43 +0200)]
[Bluetooth] improve error code management
Corentin Lecouvey [Thu, 4 Sep 2014 08:34:30 +0000 (10:34 +0200)]
[Bluetooth] fix and clean up javascript
- fix some const values and readonly attributes
it also allow to pass many failed TCT test cases
- handle UUID strings in upper case
- prefer an empty object for the adapter change listener
- remove ternary conditions for booleans
- use a variable correspondong to the 11 bits of the service class mask
Corentin Lecouvey [Thu, 4 Sep 2014 08:16:38 +0000 (10:16 +0200)]
[Bluetooth] add missing ondevicedisappeared() callback
Also implement the added BT_ADAPTER_DEVICE_DISCOVERY_REMOVED event type
from discovery in NTB (New Tizen Bluetooth framework).
NTB will replace current bluetooth-frwk soon.
Corentin Lecouvey [Thu, 4 Sep 2014 08:10:20 +0000 (10:10 +0200)]
[Bluetooth] intialize bluetooth framework in extension instance Initialize method
Halton Huo [Fri, 5 Sep 2014 05:54:23 +0000 (13:54 +0800)]
Merge pull request #369 from qjia7/sim_ivi
[Tizen ] Enable sim support for ivi
jiajia qin [Mon, 4 Aug 2014 17:20:11 +0000 (01:20 +0800)]
[Tizen] Enable sim support for ivi
capi-telephony-sim package will talk to Samsung telephony stack which we don't
have in IVI. Currently, it uses ofono as the telephony stack. So, in client, we
have to use g_dbus* API to get corresponding sim attribute.
BUG=XWALK-2039
Halton Huo [Thu, 4 Sep 2014 07:59:05 +0000 (15:59 +0800)]
Remove redunant dependency of libgsignon-glib
pbgsignon-glib dependency is already added by
pkgconfig(libgsignon-glib), so there is no need to add
Requires:libgsignon-glib explicitly.
Crosswalk Release Engineering [Tue, 26 Aug 2014 22:05:40 +0000 (22:05 +0000)]
Bump version to 0.92
Halton Huo [Tue, 26 Aug 2014 09:45:59 +0000 (17:45 +0800)]
Merge pull request #366 from sragavan/xwalk-2276
Remove worker threads from media renderer api implementation.
Srinivasa Ragavan [Tue, 26 Aug 2014 08:48:31 +0000 (14:18 +0530)]
Remove worker threads from media renderer api implementation.
This causes random crash while starting up. Now on create the manager
on the main loop directly.
BUG=XWALK-2276
Crosswalk Release Engineering [Mon, 25 Aug 2014 22:05:47 +0000 (22:05 +0000)]
Bump version to 0.91
Halton Huo [Wed, 20 Aug 2014 01:27:49 +0000 (09:27 +0800)]
Merge pull request #364 from izaman/master
[Tizen][SSO] Fix for GetIdentity
Imran Zaman [Mon, 18 Aug 2014 16:07:04 +0000 (19:07 +0300)]
[Tizen][SSO] Fix for GetIdentity
All inputs are validated to avoid blank input from user.
BUG=XWALK-2268
Crosswalk Release Engineering [Mon, 18 Aug 2014 22:04:38 +0000 (22:04 +0000)]
Bump version to 0.90
Halton Huo [Mon, 18 Aug 2014 14:13:29 +0000 (22:13 +0800)]
Merge pull request #352 from eurogiciel-oss/XWALK-1070
[Download] Fix and complete Download API
Romuald Texier-Marcadé [Wed, 9 Jul 2014 16:24:40 +0000 (18:24 +0200)]
[Download] Fix and complete Download API
Refactored Filesytem and Download API to share code
related to virtual roots.
Pass TCT tests.
Fix example.
BUG=XWALK-1070
Crosswalk Release Engineering [Fri, 15 Aug 2014 22:05:02 +0000 (22:05 +0000)]
Bump version to 0.89
Alexander Shalamov [Fri, 15 Aug 2014 14:03:14 +0000 (17:03 +0300)]
Merge pull request #363 from alexshalamov/fix_for_XWALK-2311
[Tizen][NFC] Fix argument order for NDEFRecord
Alexander Shalamov [Fri, 15 Aug 2014 06:26:31 +0000 (09:26 +0300)]
[Tizen][NFC] Fix argument order for NDEFRecord
TNF and NDEFRecordType were switched in NDEFRecord constructor.
BUG=XWALK-2311
Crosswalk Release Engineering [Thu, 7 Aug 2014 22:04:41 +0000 (22:04 +0000)]
Bump version to 0.88
Halton Huo [Wed, 6 Aug 2014 06:27:38 +0000 (14:27 +0800)]
Merge pull request #361 from CooderIan/upgrade_app_id
Upgrade after crosswalk always use tizen_app_id on tizen, fix cannot get current app info and dbus proxy.
Yan Hongzhang [Tue, 5 Aug 2014 00:58:40 +0000 (08:58 +0800)]
Upgrade after crosswalk always use tizen_app_id on tizen,
fix cannot get current app info and dbus proxy.
PR#2261 : https://github.com/crosswalk-project/crosswalk/pull/2261
After PR#2261, we always get the app_id which will equal to the
app_id storaged in pkgmgr DB, so there is no need to convert
pkg_id to app_id.
Because object path with '.' is an invalid object path, so
after PR#2261 the object path of running application on dbus
was changed so we need to change it too.
BUG=XWALK-1925
Crosswalk Release Engineering [Mon, 4 Aug 2014 22:04:44 +0000 (22:04 +0000)]
Bump version to 0.87
Raphael Kubo da Costa [Mon, 4 Aug 2014 11:58:54 +0000 (14:58 +0300)]
Merge pull request #356 from scuxiayiqian/recalculate-dpi
recalculate dpi on different platform
scuxiayiqian [Mon, 21 Jul 2014 09:09:45 +0000 (05:09 -0400)]
recalculate dpi on different platform
The scale factor will always be 1 if the output scale does not change.
So I default set factor to 1. If the event happens, the listener will
get the scale.
Crosswalk Release Engineering [Thu, 31 Jul 2014 22:04:41 +0000 (22:04 +0000)]
Bump version to 0.86
Halton Huo [Thu, 31 Jul 2014 08:25:10 +0000 (16:25 +0800)]
Merge pull request #358 from yejingfu/topic-alarm
[Alarm] Fix failures raised from test suite.
yejingfu [Wed, 23 Jul 2014 04:15:56 +0000 (12:15 +0800)]
[Alarm] Fix failures raised from test suite.
I've downloaded the test suite from http://otcqa.sh.intel.com/qa-auto/live/Web_TCT_Xwalk/ and run them manually.
All the alarm related failures in the test suite have been fixed.
BUG=XWALK-2163
Crosswalk Release Engineering [Wed, 30 Jul 2014 22:04:44 +0000 (22:04 +0000)]
Bump version to 0.85
Raphael Kubo da Costa [Wed, 30 Jul 2014 08:37:02 +0000 (11:37 +0300)]
Merge pull request #357 from halton/sso_fix
Add libgsignon-glib as dependency
Halton Huo [Mon, 28 Jul 2014 04:09:14 +0000 (12:09 +0800)]
Add libgsignon-glib as dependency
BUG=https://crosswalk-project.org/jira/browse/XWALK-2134
Crosswalk Release Engineering [Thu, 24 Jul 2014 22:04:25 +0000 (22:04 +0000)]
Bump version to 0.84
Halton Huo [Thu, 24 Jul 2014 01:17:49 +0000 (09:17 +0800)]
Merge pull request #346 from alexshalamov/implement_nfc
[Tizen] Implement W3C NFC API
Halton Huo [Thu, 24 Jul 2014 01:09:58 +0000 (09:09 +0800)]
Merge pull request #353 from CooderIan/fix_get_app_info
[Application] Fix cannot get application info from pkgmgr db.
Crosswalk Release Engineering [Wed, 23 Jul 2014 22:04:53 +0000 (22:04 +0000)]
Bump version to 0.83
Alexander Shalamov [Mon, 9 Jun 2014 12:07:41 +0000 (15:07 +0300)]
[Tizen] Implement W3C NFC API
This patch adds initial implementation of W3C NFC API for Tizen platform.
API specification can be found here: http://www.w3.org/TR/nfc/
BUG=XWALK-432
Halton Huo [Wed, 23 Jul 2014 03:25:42 +0000 (11:25 +0800)]
Merge pull request #354 from yejingfu/topic-alarm
[Alarm] Initialize the "id" to null in constructor
Crosswalk Release Engineering [Fri, 18 Jul 2014 22:04:47 +0000 (22:04 +0000)]
Bump version to 0.82
Thiago Marcos P. Santos [Fri, 18 Jul 2014 11:05:42 +0000 (04:05 -0700)]
Merge pull request #355 from eurogiciel-oss/remove_glib_mainloop
[Bluetooth] remove glib mainloop thread
Corentin Lecouvey [Fri, 18 Jul 2014 08:18:03 +0000 (10:18 +0200)]
[Bluetooth] remove glib mainloop thread
Following XWALK-1331 bug resolution which consists of reintroducing
a glib mainloop running in Extesion Process. As a consequence, there
is no need to make run a glib mainloop in separate crosswalk extensions.
yejingfu [Thu, 17 Jul 2014 05:36:25 +0000 (13:36 +0800)]
[Alarm] Initialize the "id" to null in constructor
The alarm id becomes valid only when it's added into tizen system.
Before that we should ensure the property is enumerable.
Set the configurable to true because we can re-define the property later in sub class when it's added into tizen system.
BUG=XWALK-2127
Crosswalk Release Engineering [Wed, 16 Jul 2014 22:04:45 +0000 (22:04 +0000)]
Bump version to 0.81
Halton Huo [Wed, 16 Jul 2014 11:15:44 +0000 (19:15 +0800)]
Merge pull request #351 from alexshalamov/remove_dlna_worker_thread
Revert "[Tizen] Move MediaServer dbus objects to worker thread"
Halton Huo [Wed, 16 Jul 2014 11:14:25 +0000 (19:14 +0800)]
Merge pull request #348 from sragavan/mediaserver-api
Add initial support for MediaRenderer API.
Srinivasa Ragavan [Wed, 9 Jul 2014 06:55:16 +0000 (12:25 +0530)]
Add initial support for MediaRenderer API.
BUG=XWALK-1195
Yan Hongzhang [Wed, 16 Jul 2014 06:14:15 +0000 (14:14 +0800)]
[Application] Fix cannot get application info from pkgmgr db.
Since xwalk already storage [tizen_app_id] and [package_id] of wgt
to pkgmgr db, so that we cannot get application info from pkgmgr db
by [app_id].
And xwalk will send [tizen_app_id] to extensions, so that we can
get [package_id] from [tizen_app_id] and get application info from
pkgmgr db according to the [package_id].
BUG=XWALK-2110
Halton Huo [Wed, 16 Jul 2014 05:35:21 +0000 (13:35 +0800)]
Merge pull request #335 from izaman/master
Implementation of Tizen SSO APIs
Imran Zaman [Fri, 4 Jul 2014 11:24:35 +0000 (14:24 +0300)]
Implementation of Tizen SSO APIs
Crosswalk Release Engineering [Fri, 11 Jul 2014 22:04:40 +0000 (22:04 +0000)]
Bump version to 0.80
Halton Huo [Fri, 11 Jul 2014 16:05:36 +0000 (00:05 +0800)]
Merge pull request #349 from eurogiciel-oss/stopDiscovery_noerror
[Bluetooth] stopDiscovery API fix to be compliant with TCT tests
Alexander Shalamov [Fri, 11 Jul 2014 12:19:32 +0000 (15:19 +0300)]
Revert "[Tizen] Move MediaServer dbus objects to worker thread"
This reverts commit
366c5b79b1c1de0efec3b2c6a27f255b96834f9b.
BUG=XWALK-2009
Halton Huo [Fri, 11 Jul 2014 02:06:07 +0000 (10:06 +0800)]
Merge pull request #350 from yejingfu/alarm-fix
[Alarm] Initialize the "period" to null if its value is not set.
yejingfu [Thu, 10 Jul 2014 08:04:09 +0000 (16:04 +0800)]
[Alarm] Initialize the "period" to null if its value is not set.
This can ensure the "period" be enumerable.
BUG=XWALK-2079