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

Commit b7e89e8c authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Revert the security exception for voip phone account registration.

In ag/30238448 I modified the security exception text; reverting it back
to what it was to hopefully prevent a CTS test failure (which I did in
ag/30350056 but for some reason still isn't sticking).  🤷

Test: Run CTS tests
Flag: com.android.server.telecom.flags.enforce_transactional_exclusivity
Fixes: 378817915
Change-Id: If56767456108b0717ea98611f68f7514c90f3991
parent 6b2d00fc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -892,8 +892,7 @@ public class TelecomServiceImpl {
                                            PhoneAccount.CAPABILITY_CONNECTION_MANAGER) ||
                                    account.hasCapabilities(
                                            PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) {
                                throw new SecurityException("Self-managed ConnectionServices and "
                                        + "transactional voip apps "
                                throw new SecurityException("Self-managed ConnectionServices "
                                        + "cannot also be call capable, connection managers, or "
                                        + "SIM accounts.");
                            }