BSPasswordRecoveryActivity.java 2.21 KB
package com.bitstrips.imoji.ui;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.MenuItem;
import android.webkit.WebSettings;
import android.webkit.WebView;
import com.bitstrips.imoji.InjectorApplication;
import com.bitstrips.imoji.analytics.PageViewReporter;
import com.bitstrips.imoji.api.BitmojiApi;
import com.bitstrips.imoji.behaviour.BehaviourHelper;
import com.bitstrips.imoji.util.BugReporter;
import java.util.Locale;
import javax.inject.Inject;

public class BSPasswordRecoveryActivity
  extends AppCompatActivity
{
  @Inject
  BitmojiApi n;
  @Inject
  PageViewReporter o;
  @Inject
  BugReporter p;
  @Inject
  BehaviourHelper q;
  
  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    ((InjectorApplication)getApplication()).inject(this);
    setContentView(2130903213);
    setSupportActionBar((Toolbar)findViewById(2131689623));
    getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    if (getIntent().getBooleanExtra("com.bitstrips.imoji.login.linking", false)) {
      this.o.resetPasswordFromLoginScreenInSnapchatAppContext();
    }
    for (;;)
    {
      paramBundle = (WebView)findViewById(2131689962);
      paramBundle.getSettings().setJavaScriptEnabled(true);
      String str = this.q.getResetPasswordURL();
      paramBundle.loadUrl(str + "?lang=" + Locale.getDefault().getLanguage());
      return;
      this.o.resetPasswordFromLoginScreenInBitmojiAppContext();
    }
  }
  
  public boolean onOptionsItemSelected(MenuItem paramMenuItem)
  {
    switch (paramMenuItem.getItemId())
    {
    default: 
      return super.onOptionsItemSelected(paramMenuItem);
    }
    onBackPressed();
    return true;
  }
  
  protected void onPause()
  {
    super.onPause();
  }
  
  public void onResume()
  {
    super.onResume();
  }
  
  public void onStart()
  {
    super.onStart();
    this.p.updateTags(new String[] { "identity" });
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/ui/BSPasswordRecoveryActivity.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */