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
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index ab361f1..896c192 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -1648,7 +1648,6 @@
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 @@
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);