idlefw/src/framework/aiuicontrollermanager.cpp
branchv5backport
changeset 76 62d594099fbe
parent 0 79c6a41cd166
equal deleted inserted replaced
68:0c3127a4bf4f 76:62d594099fbe
    45 // ----------------------------------------------------------------------------
    45 // ----------------------------------------------------------------------------
    46 //
    46 //
    47 void CAiUiControllerManager::LoadMainControllerL(
    47 void CAiUiControllerManager::LoadMainControllerL(
    48     CRepository& aCenRepConfig )
    48     CRepository& aCenRepConfig )
    49     {
    49     {
       
    50     
    50     TInt value( 0 );
    51     TInt value( 0 );
    51     
    52     
    52     // Main UI Controller must be configured correctly
    53     // Main UI Controller must be configured correctly
       
    54     // Gives old controller, because of wrong value in cenrep.
    53     User::LeaveIfError( aCenRepConfig.Get( KAiMainUIController, value ) );
    55     User::LeaveIfError( aCenRepConfig.Get( KAiMainUIController, value ) );
    54     
    56     
    55     CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) );
    57     // Correct controller implementation uid
       
    58     TInt value1( 0x2001952C );
       
    59     
       
    60     CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value1 ) );
    56     
    61     
    57     iCreatedUICList.Append( value );
    62     iCreatedUICList.Append( value );
    58     CleanupStack::PushL( controller );
    63     CleanupStack::PushL( controller );
    59     
    64     
    60     iMainUiController = controller->MainInterface();
    65     iMainUiController = controller->MainInterface();