summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-05-22 13:11:56 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-22 13:11:56 -0700
commitf9c3679dc1492b8d97c6cc0aa15f3dfda7439bf3 (patch)
treebeb0f2086f27b57e3d8737ecb61b7f3cd5efb3cb
parenta4ac83cc3b285780328a052a2d42646c1abf3d13 (diff)
parent01b0b6318634b1bb3c99cdc043512ebb829ec6da (diff)
downloadandroid_packages_apps_Trebuchet-f9c3679dc1492b8d97c6cc0aa15f3dfda7439bf3.zip
android_packages_apps_Trebuchet-f9c3679dc1492b8d97c6cc0aa15f3dfda7439bf3.tar.gz
android_packages_apps_Trebuchet-f9c3679dc1492b8d97c6cc0aa15f3dfda7439bf3.tar.bz2
Merge "Adding fade in for voice search. (Bug 6534640)" into jb-dev
-rw-r--r--src/com/android/launcher2/Launcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index e6c25cb..f5624e0 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -1869,6 +1869,7 @@ 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