- // Set the title and the icon according to the save type.
- when (saveType) {
- SAVE_LOGCAT -> {
- // Set the title.
- dialogBuilder.setTitle(R.string.save_logcat)
-
- // Set the icon according to the theme.
- dialogBuilder.setIconAttribute(R.attr.saveBlueIcon)
- }
-
- SAVE_ABOUT_VERSION_TEXT -> {
- // Set the title.
- dialogBuilder.setTitle(R.string.save_text)
-
- // Set the icon according to the theme.
- dialogBuilder.setIconAttribute(R.attr.saveTextBlueIcon)
- }
-
- SAVE_ABOUT_VERSION_IMAGE -> {
- // Set the title.
- dialogBuilder.setTitle(R.string.save_image)