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

Commit 54213c57 authored by Matt Pietal's avatar Matt Pietal
Browse files

Fix indication area padding

It was being cleared when the QR code affordance was unavailable.

Fixes: 225979496
Test: manual

Change-Id: Icde6a83d988f71b7883be2792ae9c681fdf50420
parent c037af53
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1101,9 +1101,11 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
            mIndicationArea.setPadding(mIndicationPadding, 0, mIndicationPadding, 0);
        } else {
            mQRCodeScannerButton.setVisibility(GONE);
            if (mControlsButton.getVisibility() == GONE) {
                mIndicationArea.setPadding(0, 0, 0, 0);
            }
        }
    }

    private void onQRCodeScannerClicked(View view) {
        Intent intent = mQRCodeScannerController.getIntent();