mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 07:49:21 +00:00
Android: Prevent instantiation of utility classes
This commit is contained in:
parent
4fe8bb1ca7
commit
5b1f734695
2 changed files with 10 additions and 0 deletions
|
@ -53,6 +53,11 @@ public final class NativeLibrary
|
|||
public static final int PRESSED = 1;
|
||||
}
|
||||
|
||||
private NativeLibrary()
|
||||
{
|
||||
// Disallows instantiation.
|
||||
}
|
||||
|
||||
/**
|
||||
* Default touchscreen device
|
||||
*/
|
||||
|
|
|
@ -21,6 +21,11 @@ import android.preference.PreferenceManager;
|
|||
*/
|
||||
public final class UserPreferences
|
||||
{
|
||||
private UserPreferences()
|
||||
{
|
||||
// Disallows instantiation.
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the settings stored in the Dolphin ini config files to the shared preferences of this front-end.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue