Messaging: Add sysconfig allowlist xml

Change-Id: I2665ac3be3bb63daeaa0e5c109b73ca6152b95ce
This commit is contained in:
Michael Bestas
2020-05-06 21:57:48 +03:00
parent f858d3e492
commit d27b7ca8bd
2 changed files with 28 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ android_app {
required: [ required: [
"libframesequence", "libframesequence",
"libgiftranscode", "libgiftranscode",
"com.android.messaging.allowlist",
], ],
optimize: { optimize: {
obfuscate: true, obfuscate: true,
@@ -100,3 +101,11 @@ android_app {
product_specific: true, product_specific: true,
} }
prebuilt_etc {
name: "com.android.messaging.allowlist",
product_specific: true,
sub_dir: "sysconfig",
src: "com.android.messaging.allowlist.xml",
filename_from_src: true,
}

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2020 The LineageOS 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.
-->
<config>
<allow-in-power-save package="com.android.messaging" />
</config>