appium/appium — pull request #1851 by paymand (2014-02-03 12:47:06+00:00)
Title: el.tag_name on Android should return element's className.

el.tag_name on Android returns the 'content-description (name)'. This is incompatible with the meaning of el.tag_name on iOS where it is translated to 'type'. I think we need to return the className (type of the element on Android) instead.

We can always get the content description using el.get_attribute('name').