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

Commit 969847e1 authored by Georg Veichtlbauer's avatar Georg Veichtlbauer Committed by Danesh M
Browse files

SystemUI : Move shortcut helper instantiation before updateVisibility

Change-Id: Idbb97116b243dc9ddbffec6bc020d15fa59d90b9
parent f32204ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,6 +167,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
        mLockIcon = (KeyguardAffordanceView) findViewById(R.id.lock_icon);
        mIndicationText = (TextView) findViewById(R.id.keyguard_indication_text);
        mEmergencyButton = (EmergencyButton) findViewById(R.id.emergency_call_button);
        mShortcutHelper = new LockscreenShortcutsHelper(mContext, this);
        watchForCameraPolicyChanges();
        updateCameraVisibility();
        updatePhoneVisibility();
@@ -184,7 +185,6 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
        mCameraImageView.setOnClickListener(this);
        mPhoneImageView.setOnClickListener(this);
        initAccessibility();
        mShortcutHelper = new LockscreenShortcutsHelper(mContext, this);
        updateCustomShortcuts();
    }