Tizen: Check some telephony flags before active context
authorguoqiang.liu <guoqiang.liu@archermind.com>
Fri, 27 Dec 2013 06:22:52 +0000 (14:22 +0800)
committerZhang zhengguang <zhengguang.zhang@intel.com>
Fri, 31 Oct 2014 08:06:20 +0000 (16:06 +0800)
commit1eb2741818fb2d2ec09ab055c8e4d1df1f2fb481
treee009c9a5cee336464ad28f05fd9e7e17966962f2
parentede27f8e832d3ce5dc6bf2a8be78f34abddcc885
Tizen: Check some telephony flags before active context

Telephony active maybe fail if data_allowed or ps_attached is false,
so check it before actived.

When data_allowed is false, if connman starts to auto connect 3G
service, it will result in 3G service auto connected fail, which
leads to it will not be auto connected next time.

Change-Id: Ibdd9c34fee7a612c1788a364c69550c4f7e79123
Signed-off-by: guoqiang.liu <guoqiang.liu@archermind.com>
plugins/telephony.c