diff options
author | Alan Viverette <alanv@google.com> | 2014-06-11 13:07:58 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-06-11 13:07:58 +0000 |
commit | 2c461006b8a286189b6097b04bdd80b9e6fedc4f (patch) | |
tree | 38ce32dfb0c8df5e84819899392e2d41c709dee0 /src/com/android/settings/tts/TextToSpeechSettings.java | |
parent | 9947787a64338814fe9a982cd2fe8282c9dde40c (diff) | |
parent | 6bfec2d6b197068dd355bd1742179fe3da07136f (diff) | |
download | packages_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.java | 9 |
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(); |