TOMBSTONE in com.android.browser (- android_atomic_inc+11)

there are race condition in save history webpage, at the same time,
browser destory the tab and webview, so we synchronized the tab to
resolve conflict.

Change-Id: Ib30a1215023542440e39251e8e0cd587db0ee11e
Author: binx.xu <binx.xu@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 62273
Connection to RTSP is failing.

Add a new feature to support rtsp type

Change-Id: Ib44b1974ee0d14aeafcfe49ea72b04f713bf0320
Author: bxu10X <bxu10X@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 18856
Browser hang when playing video in popup window

The function "onShowCustomView" in WebChromeClient of subwebview is
not implemented, and makes the fullscreen layout can't be set. Here
we call main webview's onShowCustomView.

Change-Id: I576e017be61bca0775b5cc897f35092a63c6dca7
Author: weiweix.ji <weiweix.ji@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 51736
Browser freezes when adding new incognito tab after removing it

When do layout, the position of new tab may be changed since other tab
closed, we need to get the position again at the time.

Change-Id: Ia5bcc15a0074678f401d6b3e93026e5ef5d2af7d
Author: weiweix.ji <weiweix.ji@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 66643
Handle DownloadManager expceptions

Handles illegal state exceptions thrown by DownloadManager
on two ocassions:
* the directory sdcard/Downloads is an ordinary file
* could not create dirctory sdcard/Downloads

Change will log an error, additionally toast with information
will pop up.

Change-Id: If853d3218a188bc77c187362a70697126b90989d
Merge changes If853d321,Ia5bcc15a,I576e017b,Ib44b1974,Ib30a1215 into jb42

* changes:
  Handle DownloadManager expceptions
  Browser freezes when adding new incognito tab after removing it
  Browser hang when playing video in popup window
  Connection to RTSP is failing.
  TOMBSTONE in com.android.browser (- android_atomic_inc+11)