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

Commit 8a4d2b4a authored by tomnatan's avatar tomnatan
Browse files

Add an 'android.software.app_compat_overrides' feature

This feature will allow OEMs to opt-in specific devices/builds to per-app compat overrides.

Bug: 188500456
Test: N/A
Change-Id: I66a9c8bcec81b0ded9de415c279cf320edfeba45
parent 0957669e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -14,3 +14,11 @@ prebuilt_etc {
    src: "android.hardware.biometrics.face.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "android.software.app_compat_overrides.xml",
    product_specific: true,
    sub_dir: "permissions",
    src: "android.software.app_compat_overrides.xml",
    filename_from_src: true,
}
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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.
-->

<!-- Feature for devices that are opted-in to receive per-app compatibility
     overrides. -->
<permissions>
  <feature name="android.software.app_compat_overrides" />
</permissions>