use fixed strings where possible to limit lint score bump

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-06-18 15:25:11 +02:00
parent cd44de757c
commit 34f8bb5ab7
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
3 changed files with 3 additions and 5 deletions

View File

@ -282,11 +282,11 @@ public interface AppPreferences {
@UnregisterChangeListenerMethod
void unregisterThemeChangeListener(OnPreferenceValueChangedListener<String> listener);
@KeyByResource(R.string.nc_settings_db_cypher_v4_upgrade_key)
@KeyByString("db_cypher_v4_upgrade")
@DefaultValue(R.bool.value_true)
boolean getIsDbCypherToUpgrade();
@KeyByResource(R.string.nc_settings_db_cypher_v4_upgrade_key)
@KeyByString("db_cypher_v4_upgrade")
void setIsDbCypherToUpgrade(boolean value);
@KeyByResource(R.string.nc_settings_phone_book_integration_key)

View File

@ -533,6 +533,4 @@
<string name="send_without_notification">Send without notification</string>
<string name="call_without_notification">Call without notification</string>
<string name="nc_settings_db_cypher_v4_upgrade_key" translatable="false">db_cypher_v4_upgrade</string>
</resources>

View File

@ -1,2 +1,2 @@
DO NOT TOUCH; GENERATED BY DRONE
<span class="mdl-layout-title">Lint Report: 2 errors and 122 warnings</span>
<span class="mdl-layout-title">Lint Report: 2 errors and 123 warnings</span>