question: @ NotNull public String computePreferredTheme ( @ NotNull Configuration configuration ) { MergedManifest manifest = MergedManifest . get ( myModule ) ; String activity = configuration . getActivity ( ) ; if ( activity != null ) { String activityFqcn = activity ; if ( activity . startsWith ( "." ) ) { String pkg = StringUtil . notNullize ( manifest . getPackage ( ) ) ; activityFqcn = pkg + activity ; } ActivityAttributes attributes = manifest . getActivityAttributes ( activityFqcn ) ; if ( attributes != null ) { String theme = attributes . getTheme ( ) ; if ( theme != null && theme . startsWith ( SdkConstants . PREFIX_RESOURCE_REF ) ) { return theme ; } } attributes = manifest . getActivityAttributes ( activity ) ; if ( attributes != null ) { String theme = attributes . getTheme ( ) ; if ( theme != null && theme . startsWith ( SdkConstants . PREFIX_RESOURCE_REF ) ) { return theme ; } } } return manifest . getDefaultTheme ( configuration . getTarget ( ) , configuration . getScreenSize ( ) , configuration . getDevice ( ) ) ; }
target:  Returns the preferred theme