blob: 77ea207e06738d28eac548d403218061ed902318 [file] [log] [blame]
Alan Viverette99c01a42018-02-23 12:24:19 -05001# Copyright (C) 2018 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Ensure that reflectively-loaded inflater is not obfuscated. This can be
16# removed when we stop supporting AAPT1 builds.
Aurimas Liutikas0c06a012018-06-06 15:09:27 -070017-keepnames class androidx.appcompat.app.AppCompatViewInflater
18
19# aapt is not able to read app::actionViewClass and app:actionProviderClass to produce proguard
Aurimas Liutikas529b92a2018-06-11 16:56:42 +000020# keep rules. Add a commonly used SearchView to the keep list until b/109831488 is resolved.
Aurimas Liutikas0c06a012018-06-06 15:09:27 -070021-keep class androidx.appcompat.widget.SearchView { <init>(...); }