boolean function ( Context arg0 ) { if ( sIsTv == null ) { PackageManager loc0 = arg0 . getPackageManager ( ) ; if ( loc0 != null ) { sIsTv = loc0 . hasSystemFeature ( PackageManager . FEATURE_TELEVISION ) ; return sIsTv ; } sIsTv = false ; } return sIsTv ; }
checks if the device should be treated as tv . note that this should be invoked before #istablet context to get the correct resultsince they are not orthogonal . concode_field_sep Boolean sIsTablet concode_elem_sep Boolean sIsTv concode_elem_sep int MINIMUM_TABLET_WIDTH_DP concode_field_sep boolean isTablet concode_elem_sep void addDeviceSpecificUserAgentSwitch