Separate TelecomManager#isInSelfManagedCall APIs
Instead of consolidating the TelecomManager#isInSelfManagedCall APIs which combine the cross user logic with the ability to also specifiy a user handle, create two separate APIs to handle this. One will allow the caller to specify a user handle while the other will allow them to specify if calls should be verified across all users. Ensure that if the user handle specified isn't the caller or that interacting across users is defined in the parameter, that the permission check is enforced properly. Otherwise, ensure that the user handle being verified is always the caller. Bug: 323958718 Bug: 311773409 Test: atest SelfManagedConnectionServiceTest Change-Id: Ie7096c0a876cca2cf8e1e70cd3ae102127f60197
Loading
Please register or sign in to comment