equal
deleted
inserted
replaced
874 else if( appTypeUid == KCWRTApplicationTypeUid ) |
874 else if( appTypeUid == KCWRTApplicationTypeUid ) |
875 { |
875 { |
876 changed = SetCWRTAppL( aEntry ) || changed; |
876 changed = SetCWRTAppL( aEntry ) || changed; |
877 } |
877 } |
878 } |
878 } |
879 } |
879 |
|
880 TApaAppCapabilityBuf appCap; |
|
881 TInt screenNumber = 0; |
|
882 |
|
883 User::LeaveIfError( iApaLsSession.GetAppCapability |
|
884 ( appCap, info->iUid ) ); |
|
885 User::LeaveIfError( iApaLsSession.GetDefaultScreenNumber |
|
886 ( screenNumber, info->iUid ) ); |
|
887 |
|
888 const TBool hidden = appCap().iAppIsHidden || screenNumber != 0; |
|
889 |
|
890 const TBool visible = aEntry->GetFlags() & EVisible; |
|
891 |
|
892 if ( hidden && visible ) |
|
893 { |
|
894 changed = ETrue; |
|
895 aEntry->SetFlags(aEntry->GetFlags() & ~EVisible); |
|
896 } |
|
897 } |
|
898 |
880 CleanupStack::PopAndDestroy( info ); |
899 CleanupStack::PopAndDestroy( info ); |
881 return changed; |
900 return changed; |
882 } |
901 } |
883 |
902 |
884 // --------------------------------------------------------------------------- |
903 // --------------------------------------------------------------------------- |
1257 |
1276 |
1258 CleanupStack::PopAndDestroy( &newComponentId ); |
1277 CleanupStack::PopAndDestroy( &newComponentId ); |
1259 } |
1278 } |
1260 return updated; |
1279 return updated; |
1261 } |
1280 } |
|
1281 |