diff options
author | Raj Yengisetty <raj@cyngn.com> | 2015-01-16 12:25:21 +0800 |
---|---|---|
committer | Matt Garnes <matt@cyngn.com> | 2015-01-16 12:17:04 +0000 |
commit | 1920554a87189a8a521a9c9959a2c54da02ec419 (patch) | |
tree | ce06a840f7246a3158666c0ab89b69dde370c27a /src | |
parent | 19a8ed552e7453939c68ea7389f73412759f2e81 (diff) | |
download | android_packages_apps_Trebuchet-1920554a87189a8a521a9c9959a2c54da02ec419.tar.gz android_packages_apps_Trebuchet-1920554a87189a8a521a9c9959a2c54da02ec419.tar.bz2 android_packages_apps_Trebuchet-1920554a87189a8a521a9c9959a2c54da02ec419.zip |
Disable voice button proxy when there is no voice search
Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551
(cherry picked from commit 7900b8dc9c6119789cfcd374b3f18b67ac003605)
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher3/Launcher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 041d21bd3..2e564c4c8 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -4359,7 +4359,7 @@ public class Launcher extends Activity if (voiceButtonContainer != null) voiceButtonContainer.setVisibility(View.GONE); if (searchButton != null) searchButton.setVisibility(View.GONE); if (voiceButton != null) voiceButton.setVisibility(View.GONE); - updateVoiceButtonProxyVisible(false); + updateVoiceButtonProxyVisible(true); return false; } } @@ -4412,7 +4412,7 @@ public class Launcher extends Activity } else { if (voiceButtonContainer != null) voiceButtonContainer.setVisibility(View.GONE); if (voiceButton != null) voiceButton.setVisibility(View.GONE); - updateVoiceButtonProxyVisible(false); + updateVoiceButtonProxyVisible(true); return false; } } |