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

Commit 3c88adb6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix null system default dialer"

parents 3b5c9b24 bf776efc
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);
    }
}