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

Commit 96e25b8d authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

Merge "Only show emergency app preference if enabled" into mnc-dev

parents 0d7d9272 7581c307
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -139,7 +139,8 @@ public class DefaultEmergencyPreference extends AppListPreference {
    }

    public static boolean isCapable(Context context) {
        return context.getResources().getBoolean(
        return TelephonyManager.EMERGENCY_ASSISTANCE_ENABLED
                && context.getResources().getBoolean(
                com.android.internal.R.bool.config_voice_capable);
    }