TrivialDriveJava/app/src/main/java/com/sample/android/trivialdrivesample/ui/MainActivity.java [112:128]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            return super.onOptionsItemSelected(item);
        }
    }

    public static class PublicKeyNotSetDialog extends DialogFragment {
        static final String DIALOG_TAG = "PublicKeyNotSetDialog";
        @NonNull
        @Override
        public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
            return new AlertDialog.Builder(requireContext())
                    .setTitle(R.string.alert_error_title_encoded_public_key_not_set)
                    .setMessage(
                            R.string.alert_error_message_encoded_public_key_not_set)
                    .setPositiveButton(getString(android.R.string.ok),
                            (dialog, which) -> {
                            })
                    .create();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



TrivialDriveKotlin/app/src/main/java/com/sample/android/trivialdrivesample/ui/MainActivity.java [113:128]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        return super.onOptionsItemSelected(item);
    }

    public static class PublicKeyNotSetDialog extends DialogFragment {
        static final String DIALOG_TAG = "PublicKeyNotSetDialog";
        @NonNull
        @Override
        public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
            return new AlertDialog.Builder(requireContext())
                    .setTitle(R.string.alert_error_title_encoded_public_key_not_set)
                    .setMessage(
                            R.string.alert_error_message_encoded_public_key_not_set)
                    .setPositiveButton(getString(android.R.string.ok),
                            (dialog, which) -> {
                            })
                    .create();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



