void markActivityUsed(int activityIndex,String webappId){
  int elementIndex=findActivityElement(activityIndex);
  if (elementIndex == -1) {
    Log.e(TAG,"Failed to find WebappActivity entry: " + activityIndex + ", "+ webappId);
    return;
  }
  ActivityEntry updatedEntry=new ActivityEntry(activityIndex,webappId);
  mActivityList.remove(elementIndex);
  mActivityList.add(updatedEntry);
  storeActivityList();
}

void markActivityUsed ( int activityIndex , String webappId ) { int elementIndex = findActivityElement ( activityIndex ) ; if ( elementIndex == - 1 ) { Log . e ( TAG , "Failed to find WebappActivity entry: " + activityIndex + ", " + webappId ) ; return ; } ActivityEntry updatedEntry = new ActivityEntry ( activityIndex , webappId ) ; mActivityList . remove ( elementIndex ) ; mActivityList . add ( updatedEntry ) ; storeActivityList ( ) ; }
moves a webappactivity to the back of the queue , indicating that the webapp is still in use and shouldn ' t be killed .
