Merge "Adding fade in for voice search. (Bug 6534640)" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f9c3679dc1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user