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

Commit 5a3ab123 authored by TheMalachite's avatar TheMalachite
Browse files

bismuth: Only add permissions for com.mediatek.ims

parent 6b70ff8b
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2020 The Android Open Source Project
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
          http://www.apache.org/licenses/LICENSE-2.0
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<permissions>
    <privapp-permissions package="com.mediatek.ims">
        <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
        <permission name="android.permission.CHANGE_WIFI_STATE"/>
        <permission name="android.permission.NETWORK_SIGNAL_STRENGTH_WAKEUP"/>
    </privapp-permissions>
</permissions>
+3 −0
Original line number Diff line number Diff line
@@ -86,6 +86,9 @@ PRODUCT_BOOT_JARS += \
    mediatek-telephony-base \
    mediatek-telephony-common

PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/permissions/privapp-permissions-mediatek.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-mediatek.xml

# VNDK
PRODUCT_TARGET_VNDK_VERSION := 28
PRODUCT_EXTRA_VNDK_VERSIONS := 28
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@ lib64/libsysenv_system.so
-priv-app/ImsService/ImsService.apk|2022a4e2e61f1c91b17a1b0ca4262d4195ed59c0
bin/vtservice|926f705b9097c9f83ad8ce1a78e8031f4badce85
etc/init/init.vtservice.rc|d9f57469d0ecf6b84e53901b8ea7379022c9b49e
etc/permissions/privapp-permissions-mediatek.xml|993d266c7b36672834808741178efe9dfa17886e
framework/mediatek-ims-extension-plugin.jar|5aae16437bcfae7da5474a17ab08de4ea67e000a
framework/mediatek-ims-legacy.jar|d8813211112f6f3eb643626ed2d0aa14a9e89090
lib/libcomutils.so|be65323e32b85b6fa81f3ccdae98dab7f2a14b01