boolean function ( Context arg0 , Intent arg1 ) { ComponentName loc0 = arg1 . resolveActivity ( arg0 . getPackageManager ( ) ) ; return loc0 != null && ! loc0 . equals ( SOMNAMBULATOR_COMPONENT ) ; }
returns true if the specified dock app intent should be started . false if we should dream instead , if appropriate . concode_field_sep ComponentName SOMNAMBULATOR_COMPONENT concode_elem_sep String TAG concode_field_sep void startDreamWhenDockedIfAppropriate concode_elem_sep boolean isScreenSaverEnabled concode_elem_sep void startDreamByUserRequest concode_elem_sep boolean isScreenSaverActivatedOnDock concode_elem_sep void startDream