# Copyright (C) 2020 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. # We supply these as stubs and will only use them in older Android versions which had a framework # implementation. We don't want R8 to complain about them not being there during optimization. -dontwarn android.hardware.fingerprint.FingerprintManager** # Never inline methods, but allow shrinking and obfuscation. -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.AuthenticationCallbackProvider$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.BiometricFragment$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.BiometricManager$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.CancellationSignalProvider$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.CryptoObjectUtils$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.FingerprintDialogFragment$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.KeyguardUtils$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.biometric.PackageUtils$Api* { ; }