Enable vendor error/acquire messages on user build
Test: It builds. Bug: 184591799 Change-Id: I81d19610e39998e4815da62c21068f4850c41c1e
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];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1424,12 +1419,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