--- a/usbmgmt/usbmgr/usbman/chargingplugin/src/otgstatewatcher.cpp Tue Aug 31 17:01:47 2010 +0300
+++ b/usbmgmt/usbmgr/usbman/chargingplugin/src/otgstatewatcher.cpp Wed Sep 01 12:35:00 2010 +0100
@@ -48,13 +48,7 @@
void COtgStateWatcher::ConstructL()
{
-#ifdef __CHARGING_PLUGIN_TEST_CODE__
- const TInt8 KPropertyOffsetForChargingTest = 100;
- User::LeaveIfError(iOtgStateProp.Attach(KUidUsbManCategory, KUsbOtgStateProperty + KPropertyOffsetForChargingTest));
-#else
- User::LeaveIfError(iOtgStateProp.Attach(KUidUsbManCategory, KUsbOtgStateProperty));
-#endif
-
+ User::LeaveIfError(iOtgStateProp.Attach(KUidUsbManCategory, KUsbOtgStateProperty));
iOtgStateProp.Subscribe(iStatus);
SetActive();