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

Commit 952a19ab authored by Joshua Mccloskey's avatar Joshua Mccloskey
Browse files

Added additional strings for fpm

Test: Verified that strings are available
Bug: 184591799
Change-Id: I3961271a94b8ee9b4ded4672b0d2874c54f48e29
parent 8d2848bb
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;