iFixit / iFixitAndroid

Official iFixit Android App
https://play.google.com/store/apps/details?id=com.dozuki.ifixit
GNU General Public License v3.0
162 stars 88 forks source link

Refactor Guide view intent filtering for Dozuki #120

Closed marczych closed 11 years ago

marczych commented 11 years ago

Viewing guides from URLs in the Dozuki app was pretty broken because the current site wasn't updated based on the domain of the URL. This correctly sets the current site and resets it when navigating back to already running Activities.


Original issue: Dozuki: Guide view navigation doesn't set the current site correctly

Navigating to http://test.dozuki.com/Guide/dfwe/1234 opens the guide in the dozuki app but the site isn't changed to be test. Instead it is left as whatever site was last opened.

timothyasp commented 11 years ago

Overall, looks good to me. CR :+1: