Merge "Fixes rounded corners for clear all button on low ram devices" into oc-mr1-dev am: 440240db5c

am: 9c970eee77

Change-Id: I43afd141d4268629804df203d61d9b16ff24bb9a
This commit is contained in:
Matthew Ng
2017-10-04 01:22:43 +00:00
committed by android-build-merger
2 changed files with 1 additions and 5 deletions

View File

@@ -17,6 +17,6 @@
<corners android:radius="@dimen/borderless_button_radius" />
<solid android:color="#CC000000" />
<solid android:color="?attr/clearAllBackgroundColor" />
</shape>

View File

@@ -203,10 +203,6 @@ public class RecentsView extends FrameLayout {
mStackButtonShadowDistance.x, mStackButtonShadowDistance.y,
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