Merge "Enable vendor error/acquire messages on user build" into sc-dev am: b7020910d3 am: 4ad6cb08ef
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15263625 Change-Id: I1721c92fd7cf0f277d2f5d5b2df020c2e5c55b55
This commit is contained in:
@@ -1382,12 +1382,7 @@ 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);
|
||||
}
|
||||
return msgArray[vendorCode];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1427,12 +1422,7 @@ 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);
|
||||
}
|
||||
return msgArray[vendorCode];
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user