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

Commit 1ce11286 authored by Joshua Mccloskey's avatar Joshua Mccloskey Committed by Android (Google) Code Review
Browse files

Merge "Added additional strings for fpm" into sc-dev

parents 72870e11 952a19ab
Loading
Loading
Loading
Loading
+16 −6
Original line number Diff line number Diff line
@@ -1271,7 +1271,12 @@ public class FingerprintManager implements BiometricAuthenticator, BiometricFing
                String[] msgArray = context.getResources().getStringArray(
                        com.android.internal.R.array.fingerprint_error_vendor);
                if (vendorCode < msgArray.length) {
                    if (Build.IS_ENG || Build.IS_USERDEBUG) {
                        return msgArray[vendorCode];
                    } else {
                        return context.getString(
                            com.android.internal.R.string.fingerprint_error_unable_to_process);
                    }
                }
            }
        }
@@ -1305,7 +1310,12 @@ public class FingerprintManager implements BiometricAuthenticator, BiometricFing
                String[] msgArray = context.getResources().getStringArray(
                        com.android.internal.R.array.fingerprint_acquired_vendor);
                if (vendorCode < msgArray.length) {
                    if (Build.IS_ENG || Build.IS_USERDEBUG) {
                        return msgArray[vendorCode];
                    } else {
                        return context.getString(
                            com.android.internal.R.string.fingerprint_error_unable_to_process);
                    }
                }
            }
                break;