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

Commit d13bd29f authored by zhidou's avatar zhidou
Browse files

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
parent c7e3d247
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ java_defaults {
    certificate: "platform",

    optimize: {
        shrink_resources: true,
        proguard_flags_files: ["proguard.flags"],
    },

res/raw/keep.xml

0 → 100644
+20 −0
Original line number Diff line number Diff line
<?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" />