msm8226-common: Inform Trust about legacy encryption support

* Encryption causes noticeable performances loss, because HW crypto
   is not suported.

Change-Id: I4336c0cd050584020780d8ff97f454e40c7e6125
This commit is contained in:
Bruno Martins 2018-06-10 20:06:24 +01:00 committed by Francescodario Cuzzocrea
parent eadb8f8f64
commit fe2a12f801
2 changed files with 24 additions and 0 deletions

View file

@ -16,6 +16,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \

View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 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.
-->
<resources>
<!-- Indicate whether encryption causes significant performances loss.
This MUST NOT be set to true on devices produced in 2016 or later -->
<bool name="config_trustLegacyEncryption">true</bool>
</resources>