summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2024-04-26 00:18:11 +0000
committer Bryce Lee <brycelee@google.com> 2024-04-26 02:22:51 +0000
commit1f5c3e6faa2bc0cea865c6953bb21a474e55bb82 (patch)
tree90e80df274afe068b957203df6e415c9cb79a7c7
parent232bd75e31d2fa87f25b83de346d8849fd0038b8 (diff)
Retain home controls dream preview drawable.
This change prevents resource shrinking optimization from removing the home controls dream preview drawable. Test: Tested on device to ensure resulting crash resolved. Flag: N/A Bug: 337049810 Change-Id: I5c732db714b57586bd32808c0a3461c42f251c4c
-rw-r--r--packages/SystemUI/res/raw/keep.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/SystemUI/res/raw/keep.xml b/packages/SystemUI/res/raw/keep.xml
new file mode 100644
index 000000000000..645e3c50c9f9
--- /dev/null
+++ b/packages/SystemUI/res/raw/keep.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright (C) 2024 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="@drawable/homecontrols_sq" /> \ No newline at end of file