a lot of renaming of IDs, following a strict naming scheme again, moved most strings into string.xml in preparation for internationalization, APG.java still has to be changed to allow that, as it isn't Context aware in most methods
This commit is contained in:
@@ -977,7 +977,7 @@ public class Apg {
|
||||
public static String getMainUserIdSafe(Context context, PGPPublicKey key) {
|
||||
String userId = getMainUserId(key);
|
||||
if (userId == null) {
|
||||
userId = context.getResources().getString(R.string.unknown_user_id);
|
||||
userId = context.getResources().getString(R.string.unknownUserId);
|
||||
}
|
||||
return userId;
|
||||
}
|
||||
@@ -985,7 +985,7 @@ public class Apg {
|
||||
public static String getMainUserIdSafe(Context context, PGPSecretKey key) {
|
||||
String userId = getMainUserId(key);
|
||||
if (userId == null) {
|
||||
userId = context.getResources().getString(R.string.unknown_user_id);
|
||||
userId = context.getResources().getString(R.string.unknownUserId);
|
||||
}
|
||||
return userId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user