Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaobao committed Dec 25, 2017
1 parent 35e437b commit c81615d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ protected void onPostExecute(Long[] aLong) {
if (mData != null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
mData.setText(String.format(Locale.getDefault(), getResources().getString(R.string.wifi_data), AppUtil.humanReadableByteCount(aLong[0]), AppUtil.humanReadableByteCount(aLong[1])));
} else {
mData.setVisibility(View.GONE);
}
}
}
Expand Down

0 comments on commit c81615d

Please sign in to comment.