equal
deleted
inserted
replaced
51 } |
51 } |
52 |
52 |
53 TInt type = aLoader->IconTypeL( aParams.iBitmapId ); |
53 TInt type = aLoader->IconTypeL( aParams.iBitmapId ); |
54 |
54 |
55 #ifdef _NGATESTING |
55 #ifdef _NGATESTING |
56 type = aLoader->GetDerivedIconTypeL(type, aParams.iFileName); |
56 type = aLoader->GetDerivedIconTypeL(type); |
57 #endif |
57 #endif |
58 |
58 |
59 // Check if handler is already present, if so then return with same pointer |
59 // Check if handler is already present, if so then return with same pointer |
60 for ( TInt lIndex = 0; lIndex < aHandlerList.Count(); lIndex++ ) |
60 for ( TInt lIndex = 0; lIndex < aHandlerList.Count(); lIndex++ ) |
61 { |
61 { |
89 { |
89 { |
90 User::Leave( KAknIconSrvCodeAnimated ); |
90 User::Leave( KAknIconSrvCodeAnimated ); |
91 } |
91 } |
92 |
92 |
93 TInt type = aLoader->IconTypeL( aIconId ); |
93 TInt type = aLoader->IconTypeL( aIconId ); |
94 |
94 #ifdef _NGATESTING |
|
95 type = aLoader->GetDerivedIconTypeL(type); |
|
96 #endif |
95 if ( !aHandler ) |
97 if ( !aHandler ) |
96 { |
98 { |
97 aHandler = AknIconFormatHandlerFactory::NewIconFormatHandlerL( type ); |
99 aHandler = AknIconFormatHandlerFactory::NewIconFormatHandlerL( type ); |
98 aHandler->SetAnimated( aAnimated ); |
100 aHandler->SetAnimated( aAnimated ); |
99 } |
101 } |