Merge "Fixes rounded corners for clear all button on low ram devices" into oc-mr1-dev
am: 440240db5c
Change-Id: I5bfd0a633e96447c37f7b64c4fc8fc52b374f059
This commit is contained in:
@@ -17,6 +17,6 @@
|
|||||||
|
|
||||||
<corners android:radius="@dimen/borderless_button_radius" />
|
<corners android:radius="@dimen/borderless_button_radius" />
|
||||||
|
|
||||||
<solid android:color="#CC000000" />
|
<solid android:color="?attr/clearAllBackgroundColor" />
|
||||||
|
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
@@ -203,10 +203,6 @@ public class RecentsView extends FrameLayout {
|
|||||||
mStackButtonShadowDistance.x, mStackButtonShadowDistance.y,
|
mStackButtonShadowDistance.x, mStackButtonShadowDistance.y,
|
||||||
mStackButtonShadowColor);
|
mStackButtonShadowColor);
|
||||||
}
|
}
|
||||||
if (Recents.getConfiguration().isLowRamDevice) {
|
|
||||||
int bgColor = Utils.getColorAttr(mContext, R.attr.clearAllBackgroundColor);
|
|
||||||
mStackActionButton.setBackgroundColor(bgColor);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Let's also require dark status and nav bars if the text is dark
|
// Let's also require dark status and nav bars if the text is dark
|
||||||
|
|||||||
Reference in New Issue
Block a user