equal
deleted
inserted
replaced
766 if ( !iCancelled ) |
766 if ( !iCancelled ) |
767 { |
767 { |
768 if ( iOverwriting ) |
768 if ( iOverwriting ) |
769 { |
769 { |
770 TUid uid = TUid::Uid( *(iPropertyValues[EUid]) ); |
770 TUid uid = TUid::Uid( *(iPropertyValues[EUid]) ); |
|
771 iAppManager->DeregisterWidgetL( uid ); |
771 iRegistry.DeRegisterWidgetL( uid ); |
772 iRegistry.DeRegisterWidgetL( uid ); |
772 iAppManager->DeregisterWidgetL( uid ); |
|
773 } |
773 } |
774 |
774 |
775 // TODO if registration steps fail does it leave inconsistent state??? |
775 // TODO if registration steps fail does it leave inconsistent state??? |
776 |
776 |
777 |
777 |
1018 ptr.Insert(pos+1,buf1); |
1018 ptr.Insert(pos+1,buf1); |
1019 iRfs.Delete(ptr); |
1019 iRfs.Delete(ptr); |
1020 CleanupStack::PopAndDestroy(fileName); |
1020 CleanupStack::PopAndDestroy(fileName); |
1021 } |
1021 } |
1022 |
1022 |
|
1023 iAppManager->DeregisterWidgetL( aUid ); |
1023 iRegistry.DeRegisterWidgetL( aUid ); |
1024 iRegistry.DeRegisterWidgetL( aUid ); |
1024 iAppManager->DeregisterWidgetL( aUid ); |
|
1025 TInt err = KErrNone; |
1025 TInt err = KErrNone; |
1026 TRAP(err, FinishUninstallL( KErrNone )); |
1026 TRAP(err, FinishUninstallL( KErrNone )); |
1027 if(err == KErrNone) |
1027 if(err == KErrNone) |
1028 { |
1028 { |
1029 HandleLogsL(bundleName, aUid, aVendor, SwiUI::ELogTaskActionUninstall); |
1029 HandleLogsL(bundleName, aUid, aVendor, SwiUI::ELogTaskActionUninstall); |