Add SDK sandbox network usage to corresponding apps.
SDK sandboxes run in a separate UID range. Their network usage should be attributed to the corresponding app. Make sure we collapse the usage collection of sandboxes to the corresponding app UID in DataUsageList. For AppDataUsage, make sure we add in the sandbox UID when being asked to calculate data usage for a regular app UID. Invoke DataUsageCycleLoader with all UIDs in AppItem, because there can now be multiple UIDs associated with a regular app, too. Also make sure that all new instances of AppItem for regular applications have their own application UID. Bug: 225319220 Test: manual Change-Id: Id101a96ee4e3ba02376fa2ac64a9f9c2581acb61
Loading
Please register or sign in to comment