code: public static void cloneTheme(Intent sourceIntent, Intent intent,
                                    boolean force) {
          final boolean hasSourceTheme = hasSpecifiedTheme(sourceIntent);
          if (force || hasSourceTheme) {
              intent.putExtra(_THEME_TAG, hasSourceTheme ? getTheme(sourceIntent)
                      : _DEFAULT_THEME);
          }
      }
docs: Clone theme from sourceIntent to intent, if it specified for sourceIntent
  or set flag force
  
  @param sourceIntent Intent with specified {@link #_THEME_TAG}
  @param intent       Intent into which will be put a theme
  @param force        Clone theme even if sourceIntent not contain
  {@link #_THEME_TAG}