I have been using CLogViewRecent
and MLogViewChangeObserver
to monitor call log on S60 5th edition phones.
MLogViewChangeObserver
has three functions:
virtual void HandleLogViewChangeEventAddedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
virtual void HandleLogViewChangeEventChangedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
virtual void HandleLogViewChangeEventDeletedL(TLogId aId, TInt aViewIndex, TInt aChangeIndex, TInt aTotalChangeCount);
However, only the first two get called regularly, while HandleLogViewChangeEventDeletedL
gets called only sometimes.
E.g. HandleLogViewChangeEventDeletedL
is not called when I choose "Clear List" from the menu in "Received calls" list in Call log application.
Can anyone point to the reason why this is happening, and how to correct this?
Thank you.