Skip to content

Commit 56da4dd

Browse files
committed
fix sample app build
1 parent 8c938de commit 56da4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/src/main/java/io/runtime/mcumgr/sample/fragment/mcumgr/StatsFragment.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private void printStats(@NonNull final List<McuMgrStatResponse> responses) {
9797
builder.setSpan(new StyleSpan(Typeface.BOLD), start, start + response.name.length(),
9898
Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
9999

100-
for (final Map.Entry<String, Integer> entry : response.fields.entrySet()) {
100+
for (final Map.Entry<String, Long> entry : response.fields.entrySet()) {
101101
builder.append(getString(R.string.stats_field,
102102
entry.getKey(), entry.getValue())).append("\n");
103103
}

0 commit comments

Comments
 (0)