app/src/main/java/org/mcopenplatform/muoapi/mcopsdk/preference/PreferencesManagerDefault.java
c732d49e
 /*
  *
74ca6d11
  *   Copyright (C) 2020, University of the Basque Country (UPV/EHU)
c732d49e
  *
  *  Contact for licensing options: <licensing-mcpttclient(at)mcopenplatform(dot)com>
  *
  *  This file is part of MCOP MCPTT Client
  *
  *  This is free software: you can redistribute it and/or modify it under the terms of
  *  the GNU General Public License as published by the Free Software Foundation, either version 3
  *  of the License, or (at your option) any later version.
  *
  *  This is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  *  See the GNU General Public License for more details.
  *
  *  You should have received a copy of the GNU General Public License along
  *  with this program; if not, write to the Free Software Foundation, Inc.,
  *  59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
 package org.mcopenplatform.muoapi.mcopsdk.preference;
 
 import android.content.Context;
 import android.content.SharedPreferences;
 import android.preference.PreferenceManager;
 
 public class PreferencesManagerDefault extends PreferencesManager {
     private static String TAG = PreferencesManagerDefault.class.getCanonicalName();
 
     protected SharedPreferences createSharedPreferences(Context context){
         return createSharedPreferences(context, null);
     }
 
     protected SharedPreferences createSharedPreferences(Context context,String preference_ID){
         if(context==null){
             return null;
         }
         sharedPref = PreferenceManager
                 .getDefaultSharedPreferences(context);
         return sharedPref;
     }
175b478c
 }