From 95a556ac7a6d403bc82a4379071e282e541295f5 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Fri, 21 Sep 2012 18:28:48 +0100 Subject: [PATCH] Remove "fade in" animation for search + voice search. This applies when the app is launched by tapping the search box or the voice search icon. bug:7193408 Change-Id: I29f41faa20c3e7ad00032f749c99d9b69402c422 --- src/com/android/launcher2/Launcher.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index ab361f12f8..896c192de5 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -1648,7 +1648,6 @@ public final class Launcher extends Activity public boolean onSearchRequested() { startSearch(null, false, null, true); // Use a custom animation for launching search - overridePendingTransition(R.anim.fade_in_fast, R.anim.fade_out_fast); return true; } @@ -1961,7 +1960,6 @@ public final class Launcher extends Activity intent.setPackage(activityName.getPackageName()); } startActivity(null, intent, "onClickVoiceButton"); - overridePendingTransition(R.anim.fade_in_fast, R.anim.fade_out_fast); } catch (ActivityNotFoundException e) { Intent intent = new Intent(RecognizerIntent.ACTION_WEB_SEARCH); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);