Merge "Put the affordance launch animation back on the renderthread" into nyc-mr1-dev

This commit is contained in:
Selim Cinek
2016-08-09 23:41:35 +00:00
committed by Android (Google) Code Review

View File

@@ -147,7 +147,7 @@ public class KeyguardAffordanceView extends ImageView {
@Override
protected void onDraw(Canvas canvas) {
mSupportHardware = false;//canvas.isHardwareAccelerated();
mSupportHardware = canvas.isHardwareAccelerated();
drawBackgroundCircle(canvas);
canvas.save();
canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2);