equal
deleted
inserted
replaced
59 //KFeatureIdLayout640_480 and KFeatureIdLayout480_640 are not defined |
59 //KFeatureIdLayout640_480 and KFeatureIdLayout480_640 are not defined |
60 //so making the default granularity as 21 instead of 15. |
60 //so making the default granularity as 21 instead of 15. |
61 //Need to replace with KGlxDefaultVisibleItemsGranularity after |
61 //Need to replace with KGlxDefaultVisibleItemsGranularity after |
62 //getting the feature flag. |
62 //getting the feature flag. |
63 TInt ret = KGlxVGAVisibleItemsGranularity; |
63 TInt ret = KGlxVGAVisibleItemsGranularity; |
64 FeatureManager::InitializeLibL(); |
64 // for 10.1 we need it to be 21, |
|
65 /*FeatureManager::InitializeLibL(); |
65 |
66 |
66 if (FeatureManager::FeatureSupported( KFeatureIdLayout640_360_Touch ) || |
67 if (FeatureManager::FeatureSupported( KFeatureIdLayout640_360_Touch ) || |
67 FeatureManager::FeatureSupported( KFeatureIdLayout360_640_Touch )) |
68 FeatureManager::FeatureSupported( KFeatureIdLayout360_640_Touch )) |
68 { |
69 { |
69 ret = KGlxQHDVisibleItemsGranularity; |
70 ret = KGlxQHDVisibleItemsGranularity; |
73 FeatureManager::FeatureSupported(KFeatureIdLayout640_480) || |
74 FeatureManager::FeatureSupported(KFeatureIdLayout640_480) || |
74 FeatureManager::FeatureSupported(KFeatureIdLayout480_640)) |
75 FeatureManager::FeatureSupported(KFeatureIdLayout480_640)) |
75 { |
76 { |
76 ret = KGlxVGAVisibleItemsGranularity; |
77 ret = KGlxVGAVisibleItemsGranularity; |
77 } |
78 } |
78 FeatureManager::UnInitializeLib(); |
79 FeatureManager::UnInitializeLib(); */ |
79 return ret; |
80 return ret; |
80 } |
81 } |