diff options
author | Raj Yengisetty <raj@cyngn.com> | 2015-01-16 12:25:21 +0800 |
---|---|---|
committer | Raj Yengisetty <raj@cyngn.com> | 2015-01-16 12:25:21 +0800 |
commit | 7900b8dc9c6119789cfcd374b3f18b67ac003605 (patch) | |
tree | be2dbaed09bb42cb5f804d0aa94b4625a5e60548 /src/com/android/launcher3 | |
parent | 825cfb6d68e49bb065903ad32fd1edd342a79237 (diff) | |
download | android_packages_apps_Trebuchet-7900b8dc9c6119789cfcd374b3f18b67ac003605.tar.gz android_packages_apps_Trebuchet-7900b8dc9c6119789cfcd374b3f18b67ac003605.tar.bz2 android_packages_apps_Trebuchet-7900b8dc9c6119789cfcd374b3f18b67ac003605.zip |
Disable voice button proxy when there is no voice search
Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551
Diffstat (limited to 'src/com/android/launcher3')
-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; } } |