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

Commit bf776efc authored by Eugene Susla's avatar Eugene Susla
Browse files

Fix null system default dialer

Fixes: 123637623
Test: ensure attached bug is fixed
Change-Id: I833f662167a849bd4f34e2a5b780f49a0974145e
parent 59dd61c6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ import android.telephony.TelephonyManager;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import java.util.List;

/**
 * Class for behavior of the dialer role.
 *
@@ -46,4 +48,10 @@ public class DialerRoleBehavior implements RoleBehavior {
        return EncryptionUnawareConfirmationMixin.getConfirmationMessage(role, packageName,
                context);
    }

    @NonNull
    @Override
    public List<String> getDefaultHolders(@NonNull Role role, @NonNull Context context) {
        return ExclusiveDefaultHolderMixin.getDefaultHolders(role, "config_defaultDialer", context);
    }
}