am e214210c
: am a564c950
: am 71cfa2f7
: am c5fa6e26
: Add a dummy string to help to add "fingerprint" to search
* commit 'e214210c3f0354bf14bb7156314b417e9af7310e': Add a dummy string to help to add "fingerprint" to search
This commit is contained in:
@@ -794,10 +794,16 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
||||
FingerprintManager fpm =
|
||||
(FingerprintManager) context.getSystemService(Context.FINGERPRINT_SERVICE);
|
||||
if (fpm.isHardwareDetected()) {
|
||||
// This catches the title which can be overloaded in an overlay
|
||||
data = new SearchIndexableRaw(context);
|
||||
data.title = res.getString(R.string.security_settings_fingerprint_preference_title);
|
||||
data.screenTitle = screenTitle;
|
||||
result.add(data);
|
||||
// Fallback for when the above doesn't contain "fingerprint"
|
||||
data = new SearchIndexableRaw(context);
|
||||
data.title = res.getString(R.string.fingerprint_manage_category_title);
|
||||
data.screenTitle = screenTitle;
|
||||
result.add(data);
|
||||
}
|
||||
|
||||
// Credential storage
|
||||
|
Reference in New Issue
Block a user