Fixing squid:S1118 - Utility classes should not have public constructors.
This commit is contained in:
parent
35e11e43de
commit
eb060602cd
6 changed files with 21 additions and 0 deletions
|
|
@ -34,6 +34,9 @@ import java.util.Locale;
|
|||
|
||||
public class Localization {
|
||||
|
||||
private Localization() {
|
||||
}
|
||||
|
||||
public static Locale getPreferredLocale(Context context) {
|
||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue