Put the affordance launch animation back on the renderthread
Change-Id: I10f6b7062d9c6ca89e139ef6b67af30cb39adcb2 Fixes: 30484027
This commit is contained in:
@@ -147,7 +147,7 @@ public class KeyguardAffordanceView extends ImageView {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDraw(Canvas canvas) {
|
protected void onDraw(Canvas canvas) {
|
||||||
mSupportHardware = false;//canvas.isHardwareAccelerated();
|
mSupportHardware = canvas.isHardwareAccelerated();
|
||||||
drawBackgroundCircle(canvas);
|
drawBackgroundCircle(canvas);
|
||||||
canvas.save();
|
canvas.save();
|
||||||
canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2);
|
canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user