Esempio n. 1
0
public class ModuleReceiver extends MAXSModuleReceiver {
  private static final Log LOG = Log.getLog();

  public ModuleReceiver() {
    super(LOG, ModuleService.sMODULE_INFORMATION, ModuleService.sCOMMANDS);
  }

  @Override
  public void initLog(Context context) {
    LOG.initialize(Settings.getInstance(context));
  }

  @Override
  public SharedPreferences getSharedPreferences(Context context) {
    return Settings.getInstance(context).getSharedPreferences();
  }
}
Esempio n. 2
0
 @Override
 public void initLog(Context context) {
   LOG.initialize(Settings.getInstance(context));
 }