From 3cb1cbdcfd036dd77ef338ba5618bde91480ccf1 Mon Sep 17 00:00:00 2001 From: Ivan Chiang Date: Tue, 18 Feb 2020 10:50:10 +0800 Subject: Add PlatformCompat feature for DocumentUI - Whitelist PlatformCompat permissions for DocumentsUI - Add documents-ui-compat-config into Android.bp Bug: 141600225 Test: build and boot to home Test: tools/tradefederation/core/tests/run_tradefed_tests.sh \ --class com.google.android.asit.DeviceBootTestTest Change-Id: Iedf73faf497a4ea055b33f68dc0b7097f306791d --- Android.bp | 1 + data/etc/com.android.documentsui.xml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 4a1f96ece71d..5e068ee393cd 100644 --- a/Android.bp +++ b/Android.bp @@ -481,6 +481,7 @@ java_library { "framework-platform-compat-config", "libcore-platform-compat-config", "services-platform-compat-config", + "documents-ui-compat-config", ], static_libs: [ // If MimeMap ever becomes its own APEX, then this dependency would need to be removed diff --git a/data/etc/com.android.documentsui.xml b/data/etc/com.android.documentsui.xml index 0ffaa21d3254..b6671db7fa11 100644 --- a/data/etc/com.android.documentsui.xml +++ b/data/etc/com.android.documentsui.xml @@ -18,6 +18,8 @@ - + + + -- cgit v1.2.3-59-g8ed1b