Follow network stats changes.
Now Wi-Fi and mobile traffic is recorded separately, which means we can compute much more accurate usage estimates. Bug: 5543387 Change-Id: I26120a219649a3c84806fab0fd1602ab07509410
This commit is contained in:
@@ -316,6 +316,8 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener
|
||||
switch (mTypes[i]) {
|
||||
case R.string.usage_type_data_recv:
|
||||
case R.string.usage_type_data_send:
|
||||
case R.string.usage_type_data_wifi_recv:
|
||||
case R.string.usage_type_data_wifi_send:
|
||||
final long bytes = (long) (mValues[i]);
|
||||
value = Formatter.formatFileSize(getActivity(), bytes);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user