ankidroid/Anki-Android — pull request #454 by tilusnet (2014-08-05 23:01:25+00:00)
Title: 'Add new media' action wipes existing field content. [Issue #2224]

Patch for issue #2224: https://code.google.com/p/ankidroid/issues/detail?id=2224

Fix should also deal with selections in the text field prior to hitting the 'Add new media' button.

Tested on real device running API 17 and on emulator running API 7.