summaryrefslogtreecommitdiff
path: root/res/raw
diff options
context:
space:
mode:
author zhidou <zhidou@google.com> 2023-03-31 03:57:28 +0000
committer zhidou <zhidou@google.com> 2023-04-05 15:42:50 +0000
commitd13bd29f11f843b737f5933108504688f838abae (patch)
tree929afd336115b44ae4b6644d32b320a0e7d864a9 /res/raw
parentc7e3d247e33542cdbec89dd66d761a629fe9b2ef (diff)
Enable resource shrinking of APK DocumentsUI
This change enable R8 resources shrinking for DocumentsUI. The size of DocumentUI will be reduced by 9% from 6864931B to 6206354B. The removed resources symbols can be found https://drive.google.com/file/d/1xOF6Px5AEaN_scCCOYmiDOTBmmcPqvsm/view?usp=sharing. The removed resource files can be found https://drive.google.com/file/d/1lFqf6Ky_NHZphzeNvPoIqUinwwmxhqo0/view?usp=sharing Test: presubmit Bug: 259106853 Change-Id: Ieab84d3a107c3a80f896d532d6984510c561f666
Diffstat (limited to 'res/raw')
-rw-r--r--res/raw/keep.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/raw/keep.xml b/res/raw/keep.xml
new file mode 100644
index 000000000..254e8f2c3
--- /dev/null
+++ b/res/raw/keep.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2023 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.
+-->
+<resources xmlns:tools="http://schemas.android.com/tools"
+ tools:keep="
+ @bool/config_default_show_device_root,
+ @bool/is_launcher_enabled,
+ @string/config_headerFontFamilyMedium" />