Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -170,8 +170,9 @@ public class BaseBluetoothDialogPreferenceTest {
|
||||
|
||||
@Test
|
||||
public void generateSummary_checkString() {
|
||||
final String summary = String.format(mContext.getResources().getString(
|
||||
R.string.bluetooth_select_a2dp_codec_streaming_label), SUMMARY2);
|
||||
String label = mContext.getResources().getString(
|
||||
com.android.settingslib.R.string.bluetooth_select_a2dp_codec_streaming_label);
|
||||
final String summary = String.format(label, SUMMARY2);
|
||||
|
||||
assertThat(mPreference.generateSummary(1)).isEqualTo(summary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user