public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    app = (SAFApp) this.getApplication();
    TAG = SAFUtils.makeLogTag(this.getClass());
    addActivityToManager(this);
  }
  @Override
  @TargetApi(14)
  public void onTrimMemory(int level) {
    if (SAFUtils.isICSOrHigher()) {
      super.onTrimMemory(level);

      if (level >= ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW) {
        app.imageLoader.clearCache();
      }
    }
  }