From 6a37e3b109d85f4323406e02e9a65a8491d3bc28 Mon Sep 17 00:00:00 2001 From: Dacainiao Date: Fri, 27 Dec 2013 12:30:04 +0800 Subject: [PATCH 1/2] delete unused code --- TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java index 75a49ff9b..8effb45cd 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java @@ -129,7 +129,6 @@ public class IntroActivity extends ActionBarActivity { public void onPageScrollStateChanged(int i) { if (i == ViewPager.SCROLL_STATE_IDLE || i == ViewPager.SCROLL_STATE_SETTLING) { if (lastPage != viewPager.getCurrentItem()) { - int prevPage = lastPage; lastPage = viewPager.getCurrentItem(); final ImageView fadeoutImage; From 38d3b3671ccb026714b98ac10a67af3905f1a029 Mon Sep 17 00:00:00 2001 From: Dacainiao Date: Fri, 27 Dec 2013 15:35:25 +0800 Subject: [PATCH 2/2] remove unused code --- TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java index 06b095823..e7266b45c 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java @@ -78,7 +78,6 @@ public class LoginActivity extends ActionBarActivity implements SlideView.SlideV super.onCreate(savedInstanceState); setContentView(R.layout.login_layout); ApplicationLoader.applicationContext = this.getApplicationContext(); - ConnectionsManager inst = ConnectionsManager.Instance; getSupportActionBar().setLogo(R.drawable.ab_icon_fixed2); getSupportActionBar().show();