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

Commit a53eb7f3 authored by Sailesh Nepal's avatar Sailesh Nepal Committed by Jay Shrauner
Browse files

Remove MODIFY_PHONE_STATE requirement for Connection Managers

3rd party apps can't get this permission.

Bug: 17546794
Bug: 17510811
Change-Id: Ic479d4efb1e3aa9f418a0cf9c9a4fd879211b4bc
parent 465cec04
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -294,8 +294,6 @@ public class TelecomServiceImpl extends ITelecomService.Stub {
                enforceRegisterProviderOrSubscriptionPermission();
            }

            enforceModifyPermission();

            mPhoneAccountRegistrar.registerPhoneAccount(account);
        } catch (Exception e) {
            Log.e(this, e, "registerPhoneAccount %s", account);