// Check to see if the app has been restarted.
if (savedInstanceState == null) { // The app has not been restarted.
// Use a builder to create the alert dialog.
// Check to see if the app has been restarted.
if (savedInstanceState == null) { // The app has not been restarted.
// Use a builder to create the alert dialog.
// Set the icon according to the theme.
dialogBuilder.setIconAttribute(R.attr.sslCertificateBlueIcon)
// Set the icon according to the theme.
dialogBuilder.setIconAttribute(R.attr.sslCertificateBlueIcon)
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context)
// Get the screenshot preference.
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context)
// Get the screenshot preference.