@SuppressWarnings("ResourceType")
    static public @SunshineSyncAdapter.LocationStatus
    int getLocationStatus(Context c){
        SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(c);
        return sp.getInt(c.getString(R.string.pref_location_status_key), SunshineSyncAdapter.LOCATION_STATUS_UNKNOWN);
    }
@param c Context used to get the SharedPreferences
@return the location status integer type
app/src/main/java/com/example/android/sunshine/app/Utility.java