Data quick settings - Usage shown should take into account merged IDs.
The System Settings data usage graph takes into account merged Ids (b/18012787), but the quick settings usage graph does not. Bug: 18805245 Change-Id: I3146052606e691129a3aa5cc509cf632fda9d6b2
This commit is contained in:
@@ -113,7 +113,9 @@ public class MobileDataControllerImpl implements NetworkController.MobileDataCon
|
||||
if (session == null) {
|
||||
return warn("no stats session");
|
||||
}
|
||||
final NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
|
||||
NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId);
|
||||
template = NetworkTemplate.normalize(template, mTelephonyManager.getMergedSubscriberIds());
|
||||
|
||||
final NetworkPolicy policy = findNetworkPolicy(template);
|
||||
try {
|
||||
final NetworkStatsHistory history = mSession.getHistoryForNetwork(template, FIELDS);
|
||||
|
||||
Reference in New Issue
Block a user