默认开启权限问题在frameworks/base/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java 文件中修改。
在private static final Set PHONE_PERMISSIONS = new ArraySet<>();中添加
PHONE_PERMISSIONS.add(com.mediatek.permission.CTA_CONFERENCE_CALL)
相应的方法里添加
PackageParser.Package dialerPackage = getPackageLPr(“com.android.dialer”);
if (dialerPackage != null
&& doesPackageSupportRuntimePermissions(dialerPackage)) {
grantRuntimePermissionsLPw(dialerPackage, PHONE_PERMISSIONS, userId);
}