lib/android: Added import and fixed typo
[nit.git] / lib / android / shared_preferences / shared_preferences_api11.nit
index 4a87478..4709ca5 100644 (file)
@@ -22,6 +22,7 @@ import shared_preferences
 in "Java" `{ 
        import java.util.HashSet;
        import java.util.Set;
+       import android.content.Context; 
 `}
 
 redef extern class NativeSharedPreferences
@@ -66,7 +67,7 @@ redef class SharedPreferences
        end
 
        # File access mode
-       private fun multi_process_mode: Int in "Java" `{ return Content.MODE_MULTI_PROCESS; `}
+       private fun multi_process_mode: Int in "Java" `{ return Context.MODE_MULTI_PROCESS; `}
 
        # Returns the `HashSet[JavaString]` value corresponding the given key or `null` if none
        #