Merge "Misc GAR fixes" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c9d258a11e
@@ -1,7 +1,6 @@
|
||||
package com.android.settings.testutils.shadow;
|
||||
|
||||
import static android.util.TypedValue.TYPE_REFERENCE;
|
||||
|
||||
import static org.robolectric.RuntimeEnvironment.application;
|
||||
import static org.robolectric.Shadows.shadowOf;
|
||||
import static org.robolectric.shadow.api.Shadow.directlyOn;
|
||||
@@ -122,8 +121,6 @@ public class SettingsShadowResources extends ShadowResources {
|
||||
id = R.drawable.ic_settings_wireless;
|
||||
} else if (id == R.drawable.app_filter_spinner_background) {
|
||||
id = R.drawable.ic_expand_more_inverse;
|
||||
} else if (id == R.drawable.selectable_card_grey) {
|
||||
id = R.drawable.ic_expand_more_inverse;
|
||||
}
|
||||
return super.loadDrawable(value, id, theme);
|
||||
}
|
||||
|
||||
@@ -50,8 +50,6 @@ public class SettingsShadowResourcesImpl extends ShadowResourcesImpl {
|
||||
id = R.drawable.ic_settings_wireless;
|
||||
} else if (id == R.drawable.app_filter_spinner_background) {
|
||||
id = R.drawable.ic_expand_more_inverse;
|
||||
} else if (id == R.drawable.selectable_card_grey) {
|
||||
id = R.drawable.ic_expand_more_inverse;
|
||||
} else if (id == R.drawable.color_bar_progress
|
||||
|| id == R.drawable.ring_progress) {
|
||||
// color_bar_progress and ring_progress use hidden resources, so just use the regular
|
||||
|
||||
Reference in New Issue
Block a user