Merge pull request #11 from Dacainiao/master

remove unused code
This commit is contained in:
DrKLO 2013-12-27 03:33:37 -08:00
commit 404b2c1a40
2 changed files with 0 additions and 2 deletions

View file

@ -129,7 +129,6 @@ public class IntroActivity extends ActionBarActivity {
public void onPageScrollStateChanged(int i) { public void onPageScrollStateChanged(int i) {
if (i == ViewPager.SCROLL_STATE_IDLE || i == ViewPager.SCROLL_STATE_SETTLING) { if (i == ViewPager.SCROLL_STATE_IDLE || i == ViewPager.SCROLL_STATE_SETTLING) {
if (lastPage != viewPager.getCurrentItem()) { if (lastPage != viewPager.getCurrentItem()) {
int prevPage = lastPage;
lastPage = viewPager.getCurrentItem(); lastPage = viewPager.getCurrentItem();
final ImageView fadeoutImage; final ImageView fadeoutImage;

View file

@ -78,7 +78,6 @@ public class LoginActivity extends ActionBarActivity implements SlideView.SlideV
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.login_layout); setContentView(R.layout.login_layout);
ApplicationLoader.applicationContext = this.getApplicationContext(); ApplicationLoader.applicationContext = this.getApplicationContext();
ConnectionsManager inst = ConnectionsManager.Instance;
getSupportActionBar().setLogo(R.drawable.ab_icon_fixed2); getSupportActionBar().setLogo(R.drawable.ab_icon_fixed2);
getSupportActionBar().show(); getSupportActionBar().show();