From 87b711dfa103dc232c15dc6bfa259ec00af1d928 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Vachon?= Date: Tue, 15 Jul 2014 17:10:24 -0400 Subject: [PATCH] lib/android: Added import and fixed typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Vachon --- .../shared_preferences_api11.nit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/android/shared_preferences/shared_preferences_api11.nit b/lib/android/shared_preferences/shared_preferences_api11.nit index 4a87478..4709ca5 100644 --- a/lib/android/shared_preferences/shared_preferences_api11.nit +++ b/lib/android/shared_preferences/shared_preferences_api11.nit @@ -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 # -- 1.7.9.5