Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4677240e authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Put the affordance launch animation back on the renderthread

am: 4ae263c8

Change-Id: I675c8a8a4403de9f735e39b03bf185678a601c3c
parents dabb164c 4ae263c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);