Skip to content

Commit

Permalink
Merge "Fix battery content description when there is no percent mode"…
Browse files Browse the repository at this point in the history
… into qt-dev
  • Loading branch information
TreeHugger Robot authored and Android (Google) Code Review committed Jun 17, 2019
2 parents 08793a3 + 7839fe8 commit 4f3e0aa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ private void updatePercentText() {
} else {
setPercentTextAtCurrentLevel();
}
} else {
setContentDescription(
getContext().getString(mCharging ? R.string.accessibility_battery_level_charging
: R.string.accessibility_battery_level, mLevel));
}
}

Expand Down

0 comments on commit 4f3e0aa

Please sign in to comment.