diff options
author | Raj Yengisetty <raj@cyngn.com> | 2015-01-16 12:25:21 +0800 |
---|---|---|
committer | niks255 <niks255@mail.ru> | 2017-01-07 04:38:40 +0600 |
commit | 0fb0a246ae42df524e329a408707fa33f222f439 (patch) | |
tree | c65c9beebab532dc2987ff47fa595cbf2ad61bda | |
parent | 07f03a84fa91cfd2d9dcd72dda1a9012f0823ed6 (diff) | |
download | android_packages_apps_Trebuchet-0fb0a246ae42df524e329a408707fa33f222f439.tar.gz android_packages_apps_Trebuchet-0fb0a246ae42df524e329a408707fa33f222f439.tar.bz2 android_packages_apps_Trebuchet-0fb0a246ae42df524e329a408707fa33f222f439.zip |
Disable voice button proxy when there's no voice search
Change-Id: I54549b4c69cec5811ab261ac1213b9b4e67e8551
-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 551430a17..499ce7e0c 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -4082,7 +4082,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; } } @@ -4135,7 +4135,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; } } |