equal
deleted
inserted
replaced
97 if( aGripStatus == EPSHWRMGripOpen ) |
97 if( aGripStatus == EPSHWRMGripOpen ) |
98 { |
98 { |
99 #if defined(_DEBUG) |
99 #if defined(_DEBUG) |
100 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip opened")); |
100 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip opened")); |
101 #endif |
101 #endif |
|
102 iObserver->ForceOrientation(0); |
102 if( !iObserver->DeviceLockQueryStatus() && iObserver->DeviceLockStatus() ) |
103 if( !iObserver->DeviceLockQueryStatus() && iObserver->DeviceLockStatus() ) |
103 { |
104 { |
104 #if defined(_DEBUG) |
105 #if defined(_DEBUG) |
105 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => send command")); |
106 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => send command")); |
106 #endif |
107 #endif |
137 else |
138 else |
138 { |
139 { |
139 #if defined(_DEBUG) |
140 #if defined(_DEBUG) |
140 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip closed")); |
141 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => Grip closed")); |
141 #endif |
142 #endif |
|
143 iObserver->ForceOrientation(1); |
|
144 |
142 //Grip closed |
145 //Grip closed |
143 if( iObserver->DeviceLockQueryStatus() ) |
146 if( iObserver->DeviceLockQueryStatus() ) |
144 { |
147 { |
145 #if defined(_DEBUG) |
148 #if defined(_DEBUG) |
146 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => send key event")); |
149 RDebug::Print(_L("(AUTOLOCK)CAutolockGripStatusObserver::::GripStatusChangedL => send key event")); |