equal
deleted
inserted
replaced
89 // notify widgets of an active network connection |
89 // notify widgets of an active network connection |
90 iWindowManager.NotifyConnecionChange( ETrue ); |
90 iWindowManager.NotifyConnecionChange( ETrue ); |
91 } |
91 } |
92 else if ( iNote().iState == EInterfaceDown ) |
92 else if ( iNote().iState == EInterfaceDown ) |
93 { |
93 { |
94 #ifndef BRDO_OCC_ENABLED_FF |
|
95 RTimer timer; |
|
96 TRequestStatus timerStatus; // Request status associated with timer |
|
97 timer.CreateLocal(); |
|
98 #endif |
|
99 // check if there are no other active connections |
94 // check if there are no other active connections |
100 if ( !CheckActiveNetworkConnection() ) |
95 if ( !CheckActiveNetworkConnection() ) |
101 { |
96 { |
102 // notify widgets of a network connection going down |
97 // notify widgets of a network connection going down |
103 iWindowManager.NotifyConnecionChange( EFalse ); |
98 iWindowManager.NotifyConnecionChange( EFalse ); |
104 #ifndef BRDO_OCC_ENABLED_FF |
|
105 timer.After(timerStatus,30000000); |
|
106 User::WaitForRequest(timerStatus); |
|
107 #endif |
|
108 } |
99 } |
109 #ifndef BRDO_OCC_ENABLED_FF |
|
110 timer.Close(); |
|
111 #endif |
|
112 } |
100 } |
113 |
101 |
114 iConn.AllInterfaceNotification( iNote, iStatus ); |
102 iConn.AllInterfaceNotification( iNote, iStatus ); |
115 SetActive(); |
103 SetActive(); |
116 } |
104 } |