package com.ikea.kompis.stores;

import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import com.ikea.kompis.ShoppingCartActivity;
import com.ikea.kompis.fragments.ContentFragment;
import com.ikea.shared.analytics.UsageTracker;

public class StoreLocatorActivity extends ShoppingCartActivity
{
  protected ContentFragment createContentFragment()
  {
    Bundle localBundle = getIntent().getExtras();
    boolean bool1 = false;
    boolean bool2 = false;
    boolean bool3 = false;
    boolean bool4 = false;
    if (localBundle != null)
    {
      bool1 = localBundle.getBoolean("FROM_FIRST_USER_EXPERIENCE", false);
      bool4 = localBundle.getBoolean("FROM_SETTINGS", false);
      bool3 = localBundle.getBoolean("FROM_SL", false);
      bool2 = localBundle.getBoolean("FROM_WELCOME", false);
    }
    return StoreBaseFragment.newInstance(this, bool1, false, bool2, bool3, bool4);
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    if ((paramInt == 4) && (!isPaused()))
    {
      UsageTracker.i().setBackPressed();
      if (!goBack())
        return super.onKeyDown(paramInt, paramKeyEvent);
      return false;
    }
    return super.onKeyDown(paramInt, paramKeyEvent);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.ikea.kompis.stores.StoreLocatorActivity
 * JD-Core Version:    0.6.2
 */