Cómo obtener la pila de historia en Android WebView

WebBackForwardList mWebBackForwardList = mWebView.copyBackForwardList();
String historyUrl =  mWebBackForwardList.getItemAtIndex(mWebBackForwardList.getCurrentIndex()-1).getUrl();
Anxious Alligator