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

Commit 1c97e4e3 authored by Bruno Martins's avatar Bruno Martins
Browse files

GlobalActionsDialog: Never show emergency without telephony support

Change-Id: I7a4cd340d69fa6e3e2e6a2ba0529276f3b04155b
parent 0d7e68d8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -956,6 +956,11 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
        public boolean showBeforeProvisioning() {
            return true;
        }

        @Override
        public boolean shouldShow() {
            return mHasTelephony;
        }
    }

    private class EmergencyAffordanceAction extends EmergencyAction {