Move SettingsLib icons to android.
Bug: 122263617 Test: make Change-Id: Ia2ab06561824656951fbd0019e9c921442c714e1
This commit is contained in:
@@ -171,7 +171,8 @@ public class BluetoothDevicePreferenceTest {
|
||||
.thenReturn(new BluetoothClass(BluetoothClass.Device.Major.IMAGING));
|
||||
|
||||
mPreference.onDeviceAttributesChanged();
|
||||
DrawableTestHelper.assertDrawableResId(mPreference.getIcon(), R.drawable.ic_settings_print);
|
||||
DrawableTestHelper.assertDrawableResId(mPreference.getIcon(),
|
||||
com.android.internal.R.drawable.ic_settings_print);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@@ -68,7 +68,7 @@ public class BluetoothSliceBuilderTest {
|
||||
|
||||
final SliceAction primaryAction = metadata.getPrimaryAction();
|
||||
final IconCompat expectedToggleIcon = IconCompat.createWithResource(mContext,
|
||||
R.drawable.ic_settings_bluetooth);
|
||||
com.android.internal.R.drawable.ic_settings_bluetooth);
|
||||
assertThat(primaryAction.getIcon().toString()).isEqualTo(expectedToggleIcon.toString());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user