Merge "Punt battery status action when entering Settings main page" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
99554d3c34
@@ -156,6 +156,7 @@ public class TopLevelBatteryPreferenceControllerTest {
|
||||
|
||||
@Test
|
||||
public void getDashboardLabel_returnsCorrectLabel() {
|
||||
mController.mPreference = new Preference(mContext);
|
||||
BatteryInfo info = new BatteryInfo();
|
||||
info.batteryPercentString = "3%";
|
||||
assertThat(mController.getDashboardLabel(mContext, info, true))
|
||||
|
Reference in New Issue
Block a user