Merge "Create privapp permission grant file for TZ updater"

am: 78d2038ca0

Change-Id: Ib143711fa9d4bf2822ed585a8aacc74fd658c727
This commit is contained in:
Anton Hansson
2018-11-15 03:22:37 -08:00
committed by android-build-merger
2 changed files with 30 additions and 0 deletions

View File

@@ -47,3 +47,11 @@ LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/sysconfig
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
########################
include $(CLEAR_VARS)
LOCAL_MODULE := com.android.timezone.updater.xml
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_RELATIVE_PATH := permissions
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 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.android.timezone.updater">
<permission name="android.permission.QUERY_TIME_ZONE_RULES" />
<permission name="android.permission.UPDATE_TIME_ZONE_RULES" />
</privapp-permissions>
</permissions>