summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/tts/TextToSpeechSettings.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-06-11 13:07:58 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-11 13:07:58 +0000
commit2c461006b8a286189b6097b04bdd80b9e6fedc4f (patch)
tree38ce32dfb0c8df5e84819899392e2d41c709dee0 /src/com/android/settings/tts/TextToSpeechSettings.java
parent9947787a64338814fe9a982cd2fe8282c9dde40c (diff)
parent6bfec2d6b197068dd355bd1742179fe3da07136f (diff)
downloadpackages_apps_Settings-2c461006b8a286189b6097b04bdd80b9e6fedc4f.zip
packages_apps_Settings-2c461006b8a286189b6097b04bdd80b9e6fedc4f.tar.gz
packages_apps_Settings-2c461006b8a286189b6097b04bdd80b9e6fedc4f.tar.bz2
am 6bfec2d6: Remove all dialog icons in Settings
* commit '6bfec2d6b197068dd355bd1742179fe3da07136f': Remove all dialog icons in Settings
Diffstat (limited to 'src/com/android/settings/tts/TextToSpeechSettings.java')
-rw-r--r--src/com/android/settings/tts/TextToSpeechSettings.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/com/android/settings/tts/TextToSpeechSettings.java b/src/com/android/settings/tts/TextToSpeechSettings.java
index 4a98661..d3f9c7b 100644
--- a/src/com/android/settings/tts/TextToSpeechSettings.java
+++ b/src/com/android/settings/tts/TextToSpeechSettings.java
@@ -482,11 +482,10 @@ public class TextToSpeechSettings extends SettingsPreferenceFragment implements
private void displayNetworkAlert() {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
- builder.setTitle(android.R.string.dialog_alert_title);
- builder.setIconAttribute(android.R.attr.alertDialogIcon);
- builder.setMessage(getActivity().getString(R.string.tts_engine_network_required));
- builder.setCancelable(false);
- builder.setPositiveButton(android.R.string.ok, null);
+ builder.setTitle(android.R.string.dialog_alert_title)
+ .setMessage(getActivity().getString(R.string.tts_engine_network_required))
+ .setCancelable(false)
+ .setPositiveButton(android.R.string.ok, null);
AlertDialog dialog = builder.create();
dialog.show();