webengine/widgetregistry/Server/src/WidgetMMCHandler.cpp
changeset 42 d39add9822e2
parent 38 6297cdf66332
child 46 ea4b2e4f7cac
--- a/webengine/widgetregistry/Server/src/WidgetMMCHandler.cpp	Mon Jan 18 21:20:18 2010 +0200
+++ b/webengine/widgetregistry/Server/src/WidgetMMCHandler.cpp	Tue Feb 02 00:56:45 2010 +0200
@@ -1,26 +1,22 @@
-//
-// ============================================================================
-//  Name     : WidgetMMCHandler.cpp
-//  Part of  : SW Installer UIs / WidgetInstallerUI
-//
-//  Description: Handle notifications of MMC events.
-//
-//
-//  Version     : 3.1
-//
-//  Copyright © 2006 Nokia Corporation.
-//  This material, including documentation and any related
-//  computer programs, is protected by copyright controlled by
-//  Nokia Corporation. All rights are reserved. Copying,
-//  including reproducing, storing, adapting or translating, any
-//  or all of this material requires the prior written consent of
-//  Nokia Corporation. This material also contains confidential
-//  information which may not be disclosed to others without the
-//  prior written consent of Nokia Corporation.
-// ==============================================================================
-///
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Handle notifications of MMC events.
+*
+*
+*
+*/
 
-// INCLUDE FILES
 #include "WidgetMMCHandler.h"
 #include "WidgetRegistry.h"
 
@@ -134,7 +130,7 @@
             LOG1( " iDriveFlags 0x%x", iDriveFlags );
             LOG1( "  driveFlags 0x%x", driveFlags );
             deltaDriveFlags = iDriveFlags ^ driveFlags;
-            iDeltaDriveFlags = deltaDriveFlags;
+            iDeltaDriveFlags |= deltaDriveFlags;
             LOG1( " deltaDriveFlags 0x%x", deltaDriveFlags );
             iDriveFlags = driveFlags;
           }