sm7250-common: Grant android.permission.WRITE_DEVICE_CONFIG to gms
Grant android.permission.WRITE_DEVICE_CONFIG to com.google.android.gms package. TEST: run gts -m GtsDeviceConfigTestCases -t com.google.android.deviceconfig.gts.DeviceConfigApiPermissionTests#testWriteDeviceConfigPermission Signed-off-by: Haoran.Wang <elven.wang@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/13666 Reviewed-by: guoyin.chen <guoyin.chen@nxp.com> Reviewed-by: Tian Yang <yang.tian@nxp.com> Signed-off-by: Joey Huab <joey@evolution-x.org>
This commit is contained in:
parent
46bde50f28
commit
b05559daf5
21
configs/permissions/privapp-permissions-gms.xml
Normal file
21
configs/permissions/privapp-permissions-gms.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
~ Copyright (C) 2019-2022 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.google.android.gms">
|
||||||
|
<permission name="android.permission.WRITE_DEVICE_CONFIG" />
|
||||||
|
</privapp-permissions>
|
||||||
|
</permissions>
|
4
lito.mk
4
lito.mk
@ -221,6 +221,10 @@ PRODUCT_PACKAGES += \
|
|||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.gatekeeper@1.0.vendor
|
android.hardware.gatekeeper@1.0.vendor
|
||||||
|
|
||||||
|
# GMS Permissions
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/permissions/privapp-permissions-gms.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp.permissions-gms.xml
|
||||||
|
|
||||||
# GPS
|
# GPS
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.gnss@1.1.vendor \
|
android.hardware.gnss@1.1.vendor \
|
||||||
|
Loading…
Reference in New Issue
Block a user