blob: 152c0e3cb0bac7fbb7e60db9fe8bdd28752ed80a [file] [log] [blame]
# Copyright (C) 2025 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.
# Keeps Aggregated inventory/invoker only as they are created from reflection.
-keep,allowoptimization class * implements androidx.appfunctions.internal.AggregatedAppFunctionInvoker {
public *;
}
-keep,allowoptimization class * implements androidx.appfunctions.internal.AggregatedAppFunctionInventory {
public *;
}
# Keeps ExtensionAppFunctionService because the caller is from IPC
-keep,allowoptimization class androidx.appfunctions.ExtensionAppFunctionService {
public *;
}
-keep class androidx.appfunctions.internal.AggregatedAppFunctionInvoker { *; }
-keep class androidx.appfunctions.internal.AggregatedAppFunctionInventory { *; }