Merge "Remove summary template in sleep timeout setting." into oc-dev
am: 014ff46fa6
Change-Id: I9f9e924be57552eebfe5d8bff5463182463f6845
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
<com.android.settings.TimeoutListPreference
|
<com.android.settings.TimeoutListPreference
|
||||||
android:key="screen_timeout"
|
android:key="screen_timeout"
|
||||||
android:title="@string/screen_timeout"
|
android:title="@string/screen_timeout"
|
||||||
android:summary="@string/screen_timeout_summary"
|
android:summary="@string/summary_placeholder"
|
||||||
android:entries="@array/screen_timeout_entries"
|
android:entries="@array/screen_timeout_entries"
|
||||||
android:entryValues="@array/screen_timeout_values" />
|
android:entryValues="@array/screen_timeout_values" />
|
||||||
|
|
||||||
|
@@ -89,7 +89,7 @@ public class XmlParserUtilTest {
|
|||||||
"com.android.settings.TimeoutListPreference");
|
"com.android.settings.TimeoutListPreference");
|
||||||
final AttributeSet attrs = Xml.asAttributeSet(parser);
|
final AttributeSet attrs = Xml.asAttributeSet(parser);
|
||||||
String summary = XmlParserUtils.getDataSummary(mContext, attrs);
|
String summary = XmlParserUtils.getDataSummary(mContext, attrs);
|
||||||
String expSummary = mContext.getString(R.string.screen_timeout_summary);
|
String expSummary = mContext.getString(R.string.summary_placeholder);
|
||||||
assertThat(summary).isEqualTo(expSummary);
|
assertThat(summary).isEqualTo(expSummary);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user