browserui/browser/BrowserAppSrc/BrowserSpecialLoadObserver.cpp
branchRCL_3
changeset 34 5dedbccec665
parent 33 dbd79466b1ed
child 35 5c11946e75b3
equal deleted inserted replaced
33:dbd79466b1ed 34:5dedbccec665
   282                         LongZeroStartup();  // ...Browser started with long zero keypress
   282                         LongZeroStartup();  // ...Browser started with long zero keypress
   283                 SetLongZeroStartup( EFalse );
   283                 SetLongZeroStartup( EFalse );
   284 
   284 
   285 				BROWSER_LOG((_L("StartConnection params, query: %d, temp: %d"), query, disableConnDlgs));
   285 				BROWSER_LOG((_L("StartConnection params, query: %d, temp: %d"), query, disableConnDlgs));
   286                 iConnectionStarted = ETrue; // is true when connection request submited.
   286                 iConnectionStarted = ETrue; // is true when connection request submited.
       
   287 #ifndef __WINS__
       
   288                 TUint32 bookmarkIap( 0 );
       
   289                 //If bookmark has defined its AP, use it
       
   290                 if ( iApiProvider->RequestedAp() != KWmlNoDefaultAccessPoint )
       
   291                     {
       
   292                     bookmarkIap = Util::IapIdFromWapIdL( *iApiProvider, iApiProvider->RequestedAp() );
       
   293                     BROWSER_LOG((_L("Bookmark Iap: %d"), bookmarkIap));
       
   294                     iApiProvider->Connection().SetRequestedAP( bookmarkIap );
       
   295                     iApiProvider->Connection().SetConnectionType( EConnectionMethod );
       
   296                     }
       
   297                 else
       
   298                     {
       
   299                     iApiProvider->Connection().SetRequestedAP( bookmarkIap );
       
   300                     BROWSER_LOG((_L("Setting Bookmark Iap: %d"), bookmarkIap));
       
   301                     }
       
   302 #endif
   287                 // might leave, don't TRAP. OK.
   303                 // might leave, don't TRAP. OK.
   288                 err = iApiProvider->Connection().StartConnectionL( disableConnDlgs );
   304                 err = iApiProvider->Connection().StartConnectionL( disableConnDlgs );
   289                 iConnectionStarted = EFalse; // is false when connection response completed.
   305                 iConnectionStarted = EFalse; // is false when connection response completed.
   290                 }
   306                 }
   291                 
   307