summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <raj@cyngn.com>2015-01-16 12:25:21 +0800
committerRaj Yengisetty <raj@cyngn.com>2015-01-16 12:25:21 +0800
commit7900b8dc9c6119789cfcd374b3f18b67ac003605 (patch)
treebe2dbaed09bb42cb5f804d0aa94b4625a5e60548
parent825cfb6d68e49bb065903ad32fd1edd342a79237 (diff)
downloadandroid_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
-rw-r--r--src/com/android/launcher3/Launcher.java4
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;
}
}