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

Commit d8a30fc9 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

SystemUI: avoid lock screen shortcut picker crash



Fixes crash when picking lock screen shortcut app, then rotating, then
hitting the back button.

Ticket: FEIJ-299

Change-Id: I728052878ca3fc87243878ef96acea2e052aed6d
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 61ed4574
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -235,8 +235,10 @@ public class LockscreenShortcutsActivity extends Activity implements View.OnClic

    private void onTargetChange(String uri) {
        if (uri == null) {
            if (mSelectedView != null) {
                final GlowBackground background = (GlowBackground) mSelectedView.getBackground();
                background.hideGlow();
            }
            return;
        }