You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
refactor source tree organization, switch to meson
This commit is contained in:
11
src/api-impl/android/preference/PreferenceManager.java
Normal file
11
src/api-impl/android/preference/PreferenceManager.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package android.preference;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.app.SharedPreferencesImpl;
|
||||
|
||||
public class PreferenceManager {
|
||||
public static SharedPreferences getDefaultSharedPreferences (Context context) {
|
||||
return Context.this_application.getSharedPreferences("default", 0); // is this correct?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user