OSDN Git Service

Fix "TelephonyRegistry notifies wrong data status"
authorxu.peng <xu.peng@spreadtrum.com>
Tue, 22 Mar 2016 10:21:28 +0000 (18:21 +0800)
committerYifan Bai <yifan.bai@spreadtrum.com>
Fri, 13 May 2016 05:38:21 +0000 (05:38 +0000)
commit9071ced8b09db7485ff341b32ec366f58637ac68
tree23d6b50f85492033c9b133082f96d5974695e1eb
parentf8cba89883b8fecb2d392444daa97703c2840874
Fix "TelephonyRegistry notifies wrong data status"

TelephonyRegistry should notify data status by correct subId,
otherwise in some case, SIM1 data status will be overried
by SIM2 data status.
Such as screen on/off action.If in fact SIM1 is data connected
to download something, but SIM2 is not,then sreen off,
both SIM1 and SIM2 will be notified to update data status.
Then SIM1 data status will be overried by SIM2 to be "no data
connected", before SIM1 data downloading is finished,SIM1
will not be able to show "data conneced" status.

Change-Id: Ia7d0767b3b4520294ee0d024903f7522cb0a0110
services/core/java/com/android/server/TelephonyRegistry.java